Today I accept that Rails is yesterday’s software
161–166 of 166 posts
Re: Today I accept that Rails is yesterday’s software
#162Rails seems to become bloated for sure, but I think there is not a no brainer alternative out there. When I first switched from PHP to Rails it was a natural choice whereas i don't feel Rails to Node.js is in its current state.
Re: Today I accept that Rails is yesterday’s software
#163Earlier quoted context omitted.
> the 1.5 million code line application written in groovy That's quite big for Groovy. There's a lot of exaggerated claims coming out of that ecosystem. Most JVM apps that size are actually written in Java, perhaps with the codebase duplicated a few times, and counting testing copies of the code in the LOC count. If the harness for testing is written in Groovy, you could call it a "1.5 million line Groovy app". If so…
To be fair - only about 2/3 of the code in the app I mentioned is written in groovy. We strictly enforce static compilation with all of our groovy files. The app is used daily by 35,000 users concurrently @peak time.
Then there's their governance problem -- nowadays, a single person owns the groovy-lang.org website, whereas until early last year it was governed by 5 "despots" at Codehaus. It's never good when leadership becomes less consensual.
Re: Today I accept that Rails is yesterday’s software
#164Earlier quoted context omitted.
The static compilation doesn't quite work properly. Groovy is good for scripting though, similar to the way Bash is used in Linux, so test your Java classes with it, or use it as a DSL in Gradle builds. For building systems on the JVM, use a language designed for that purpose from the ground up, e.g. Java, Scala, or Kotlin.
I also have several big projects with hundreds of thousand lines of Groovy code that works fantastically well. And performance is top notch!
Re: Today I accept that Rails is yesterday’s software
#165Rails could eventually get very fast, but it can be frustrating that it's not right now!
This is the same kind of problem of Ruby not having a proper x-platform GUI toolkit or binary packager: you have such a expressive and powerful language and still you feel you are limited by the lack of speed and tooling.
That's why, IMO, a Ruby/Rails dev frustration can explode in such a strong way at some point.
Sadly Ruby isn't backed by a big corporation, so you can only wait for the language and frameworks to get more mature.
Personally I've dealt with this frustration by learning C#. It allowed me to overcome all the current limits of Ruby, while avoiding the Java ShitFactory. At the same it feels great to get back to Ruby when you want to explore ideas! It's still an unbeatable tool for prototyping. Being aware that I have knowledge of another language, makes me feel better, less frustrated, and I browse Ruby weekly news with much less "anxiety" for a revolutionary Ruby improvement (but still I browse it because I know it will happen sooner or later!).
I'm quite sure that the OP after having vented with this post, and having found what for him is a solution, then he will peacefully embrace Ruby or Rails again under a different light (but again, I wouldn't be so surprises to see big improvements soon, so maybe it could even be a better light!)
Re: Today I accept that Rails is yesterday’s software
#166I am thinking about completely stopping reading Hacker News. I enjoy the community a lot but every time I am learning something new I read about how its old and shitty and will cause hair loss when you try and invest any time in it. It puts the breaks on actually learning with the distraction of going and trying to find that new ambiguous stack that the author is hinting at.
Oh, the irony: https://news.ycombinator.com/item?id=8787117