75 pointsby pcreux9 months ago4 comments
  • xutopia9 months ago
    Ruby reads like a charm and makes these examples so elegant. It truly shows that the language was optimized for developer happiness.
    • qwertymu9 months 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_h9 months 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?
      • dalenw9 months 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.
  • zanellato199 months ago
    Really elegant stuff, thank you for sharing.
  • scottward9 months ago
    Hey Philippe! Very nice to see this from you. Looks great.
  • jmartin26839 months ago
    An odd choice of language for something with such robustness and scalability requirements. I love ruby, but for this?
    • pcreux9 months 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!