News for hackers. Stuff that matters.
Re:From Node to Ruby on Rails by afavour on Thursday December 16, 2021 @10:03AM (#29578812)
Sounds like the managers that came before you failed you! Not to sound accusing but if this happened with multiple jobs then maybe you could have asked more questions at the interview stage. You can usually see dysfunction like that a mile away.

There's no need to chase the latest Node JS shenanigans. It feels like it's all we talk about on HN but a huge, huge number of developers are out there happily coding away in Java, C# and all the rest. Even within Node world the majority are using the exact same React stack (the homogeneity of which is the reason for using it in the first place).

IMO Ruby has faded because it never found its niche. Java and C# thrive in the corporate world. Python already exists as a dynamically typed server language. As much as people complain, writing server-side web stuff in JS does make sense given it's what you're using in the client. So where does Ruby go?

Re:From Node to Ruby on Rails by cloverich on Thursday December 16, 2021 @10:09AM (#29578875)
The language is less important than the supporting tooling. IMHO we are just now, a decade later, seeing frameworks crop up in node that look anything like the out of the box usefulness that was the rails and django apps I was first exposed to. My honest opinion from several startups is that most sub ten year vets just don’t know that stuff existed already and / or just how much you can ask of your tech stack. I generally agree with your point though.
Re:From Node to Ruby on Rails by midrus on Thursday December 16, 2021 @04:53PM (#29584486)
100% this. I've always said that the ecosystem, the tooling, the editor support, the libraries, the frameworks and the availability of people to hire are far more important than the language. For example it irks me when people say they like react because jsx or Vue because templates...that's the smallest of the reasons to choose one or another!!!

Same thing with Rails/Laravel/etc...people don't choose it because PHP or because Ruby , etc...the language doesn't matter at all, the tooling does matter it all.

Re:From Node to Ruby on Rails by cutler on Friday December 17, 2021 @07:21AM (#29591218)
Paul Graham, founder of YC would disagree. He claimed Common Lisp was the secret weapon behind Viaweb's success.
Re:From Node to Ruby on Rails by AlchemistCamp on Thursday December 16, 2021 @10:55AM (#29579458)
Ruby's has been startups—Stripe, Coinbase, Instacart, Teespring, Podia, Twitch, Gitlab, Github, etc... despite never having been the most popular language or even close, it's been absolutely dominant as an initial back-end language for top-tier startups.

https://twitter.com/logicmason/status/1371255029412233218

Re:From Node to Ruby on Rails by coldtea on Thursday December 16, 2021 @11:07AM (#29579624)
>IMO Ruby has faded because it never found its niche. Java and C# thrive in the corporate world. Python already exists as a dynamically typed server language. As much as people complain, writing server-side web stuff in JS does make sense given it's what you're using in the client. So where does Ruby go?

In the web server side, helping you build web apps faster. That has been it's niche (with Rails) and it's still doing well there.

Re:From Node to Ruby on Rails by davelnewton on Thursday December 16, 2021 @01:39PM (#29582005)
> Python already exists as a dynamically-typed server language.

Ruby isn't new; it's only slightly younger than Python, and brought things to the table. Rails and Django are roughly the same age (and Django started off more as a CMS). That Python exists isn't an argument against Ruby. Lots of other languages exist, each with their own cost/benefit tradeoffs.

> [...] writing server-side web stuff in JS does make sense given it's what you're using in the client.

I don't understand the argument. Matching client/server language is a different goal than matching task/language, and the task isn't the only driving factor.

There's some crossover in that the language is the same, which means you could standardize on JS developers, but the ecosystems are not the same, and the required overall skillset is different. In wee shops the tradeoff may be worth it, but at scale, the benefit is oversold.

Re:From Node to Ruby on Rails by montblanc on Thursday December 16, 2021 @12:15PM (#29580684)
> JS does make sense given it's what you're using in the client.

Well JS is forced upon us on the browser and not everyone is tremendously happy about it. It has improved, but still. Plenty of folks out there will seek other languages, we will never all fully agree on what's good on the backend.

BTW - are we positive JS will have a monopoly on browsers 5-10 years from now? (I'm talking about WebAssembly). Cos if the monopoly is gone JS will die a violent death I think.

Re:From Node to Ruby on Rails by ttfkam on Saturday December 18, 2021 @11:30PM (#29611332)
> BTW - are we positive JS will have a monopoly on browsers 5-10 years from now?

Yes.

I will assume your question arose from the exuberance of youth.

"Good enough" + inertia = Yes

It's not enough to be better; it has to be so much better, existing infrastructure and training must become moot. And preferably an obvious best to avoid balkanization.

See: Fortune 500 and their continued reliance on COBOL and mainframes rather than opting for replacement and retraining costs.

Re:From Node to Ruby on Rails by chucke on Thursday December 16, 2021 @11:13AM (#29579713)
Ruby captured a lot of webdev market before python became mainstream, and you can see it in the maturity of the tools around this domain (ruby's way more evolved). The tables turned because python became the de-facto ML language, and everyone and your engineering manager will be afraid of betting on anything other than python in fear of hampering future ML-based optimizations (which is in practice utterly wrong, but try tell that to management...)
Re:From Node to Ruby on Rails by isabellat on Thursday December 16, 2021 @12:12PM (#29580624)
Agree! But isn’t it kind of weird that we accept that ml happens only in python? I’m biased because I’m working on a startup that makes machine learning sdks in ruby, elixir, golang, php, JavaScript etc. Also, to clarify what you are saying, you think companies are choosing to write their entire stack in python just because ml tools are in python?
Re:From Node to Ruby on Rails by montblanc on Thursday December 16, 2021 @12:36PM (#29581024)
> you think companies are choosing to write their entire stack in python just because ml tools are in python?

Going with the masses (e.g Java/Node/Python) is the easy thing to do. It feels "safe". But who knows where Python/Node will be 10 years from now, people are restless and will come up with new things (Deno?) and it could be they will start declining. Java is pretty much unavoidable though.

Re:From Node to Ruby on Rails by mountainriver on Friday December 17, 2021 @10:55AM (#29593881)
Eh I’ve been down this road and the tooling in python is just so evolved it’s hard to replicate. Julia is having a hard enough time, I see ML libraries pop up in other languages and they usually simmer out or are used by hobbyists.

As an ML engineer it’s really hard to justify spending your time in a language you will be handicapped by instead of just using python