Why did NodeJS take off on the backend while Rails was still popular? I'll never understand it.
Ruby 3.4.0
21–30 of 282 posts
Re: Ruby 3.4.0
#22Shopify strategy aka the story of YJIT If I cannot refactor my services, I shall refactor Ruby instead.
Since when contributing back to the community is considered a bad faith move?
Shopify has introduced a bunch of very nice improvements to the usability of the Ruby language and their introductions have been seen in a very positive light.
Also, I'm pretty sure both Shopify for Ruby and Facebook for their custom PHP stuff are both considered good moves.
Re: Ruby 3.4.0
#23Already outdated: https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-1-rele...
Re: Ruby 3.4.0
#24What does ruby do well that other languages don't? What is the niche it's trying to fill?
Rails has some very, very good features that make standing up a CRUD app with an administrative backend _very easy_. It's also got a bunch of semi-functional-programming paradigms throughout that make life quite a bit easier when you get used to using them. Honestly, if it had types by default and across all / most of its packages easily (no. Sorbet + Rails is pain, or at least was last I tried), I'd probably recomme…
I wish the TypeScript/React integration was easier. Say what you will but there's no way you can achieve interactivity and convenience of React (et al) UIs with Turbo/Hotwire in a meaningful time.
Re: Ruby 3.4.0
#25Already outdated: https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-1-rele...
Re: Ruby 3.4.0
#26Earlier quoted context omitted.
I'm pretty sure the only reason people ever used parser generators is that it allows a language that vaguely resembles the formal description of the target language. I always found them very confusing to write, confusing to debug, and much less efficient than writing your own. It's actually pretty straightforward once you get the tokenization and lookahead working.
Agreed. Parser generators are a magic black box. Parsing is not too difficult, there is some actual computer science in some spots, but I think parsing should be a core complacency of a programming language to unlock full potential.
Re: Ruby 3.4.0
#27Re: Ruby 3.4.0
#28What does ruby do well that other languages don't? What is the niche it's trying to fill?
It's the language with the highest ratio of (useful work / LOC), so it's the least verbose language. This makes it very suitable to write and understand complex scripts, because the reduced boilerplate means less cognitive overhead for the programmer. As a result, experienced programmers can be extremely productive with it. The well-known Rails framework uses this to great effect, however, some people argue that the…
Re: Ruby 3.4.0
#29Earlier quoted context omitted.
Rails has some very, very good features that make standing up a CRUD app with an administrative backend _very easy_. It's also got a bunch of semi-functional-programming paradigms throughout that make life quite a bit easier when you get used to using them. Honestly, if it had types by default and across all / most of its packages easily (no. Sorbet + Rails is pain, or at least was last I tried), I'd probably recomme…
I love Rails and spent a good chunk of my career using it - and I'd recommend it more if only the frontend story wasn't that bumpy over the years with all the variations of asset pipelines. I wish the TypeScript/React integration was easier. Say what you will but there's no way you can achieve interactivity and convenience of React (et al) UIs with Turbo/Hotwire in a meaningful time.
Re: Ruby 3.4.0
#30[flagged]