75 pointsby pcreux4 days ago4 comments
  • xutopia3 days ago
    Ruby reads like a charm and makes these examples so elegant. It truly shows that the language was optimized for developer happiness.
    • qwertymu3 days ago
      Does everyone that loves Rails also love Ruby? I'm not one of them. I personally think Ruby is awful but Rails is incredible.
      • eric_h3 days ago
        I'm curious how you can find rails incredible while simultaneously hating ruby? Rails takes a lot of its inspiration from the language itself (internals relying heavily on metaprogramming, lots of exploitation of ruby's quirks all over the place). Like, what do you like about rails and what do you hate about ruby and how do those two things not overlap?
      • dalenw3 days ago
        I like Ruby a lot, but I find it large codebases get convoluted since it doesn't have a proper typing system. RBS doesn't count lol. Even RubyMine by JetBrains gets confused with classes and such in a "large" codebase I wrote (50k lines give or take). And that's with doing things the proper Ruby/Rails way, with full RBS files for everything.
  • zanellato193 days ago
    Really elegant stuff, thank you for sharing.
  • scottward3 days ago
    Hey Philippe! Very nice to see this from you. Looks great.
  • jmartin26833 days ago
    An odd choice of language for something with such robustness and scalability requirements. I love ruby, but for this?
    • pcreux2 days ago
      Hey Martin,

      All our services are built using Ruby, so it's the obvious choice. It scales and it's robust. We might just spend a little bit more on Heroku than if we'd use another language such as go - but it's definitely not worth introducing a new language to our stack.

      Thanks for the comment!