• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • Yeah, you’re quite correct, it’s not exactly equivalent, I just went on auto-pilot because it’s used so much for that purpose 🤖

    It’s much closer to being a true null-coalescing operator than ‘OR’ operators in other languages though, because there’s only two values that are falsy in Ruby: nil and false. Some other languages treat 0 and "" (and no doubt other things), as falsy. So this is probably the reason Ruby has never added a true null-coalescing operator, there’s just much fewer cases where there’s a difference.

    It’s going to drive me mad now I’ve seen it, though 😆 That’s usually the case with language features, though, you don’t know what you’re missing until you see it in some other language!







  • I think that the FOSS Fediverse platforms are significantly resistant to enshittification.

    That same article explores what enables enshittification and what precludes it:

    The Netheads wanted to build diverse networks with lots of offers, lots of competition, and easy, low-cost switching between competitors (thanks to interoperability).

    Fediverse platforms:

    • are highly interoperable - e.g. you can use Lemmy or Kbin and still see the same posts
    • mostly FOSS, so anyone can fork them whenever they want if they don’t like some particular change
    • most instances currently aren’t operated for profit - certainly if your instance started displaying ads you could switch to another instance (or set one up) and still access all the same content as you did previously