Ruby survives on affection, not utility. Let’s move on.
Archived version: https://archive.is/20251204034843/https://www.wired.com/story/ruby-is-not-a-serious-programming-language/
Ruby survives on affection, not utility. Let’s move on.
Archived version: https://archive.is/20251204034843/https://www.wired.com/story/ruby-is-not-a-serious-programming-language/
Maybe if I could read the article I’d have something to say about that. I guess we’ll never know, and that’s probably for the best.
Archived version: https://archive.is/20251204034843/https://www.wired.com/story/ruby-is-not-a-serious-programming-language/
Thank you.
Disclaimer: I’m not Ruby programmer. I evaluated it once, saw no particular reason to use it instead of Python and promptly forgot about it.
With that said, the specific criticism(s) are:
Poor performance. Sure. Ruby does appear to be somewhat slower than Python, but I’m more concerned about the peak memory consumption which is admittedly frequently pretty terrifying. Mind you, if I need high performance, I’m not likely to be using either Ruby or Python. It’s fine for automation scripts, rapid prototyping or experimentation, hypothesis validation, moderate data processing, analysis and visualization, but yes: If you build your (supposedly) hyper-scalable website on Rails or use it for the system software for your embedded device, you’re going to have a bad time. Every tool has its place (except Brainfuck). Don’t use a hammer when you should be using a screwdriver.
The above also covers the railing against rails, about which I have no further comment as I’ve never used it. Maybe it’s nice, but if you’re working on something with more concurrent users than your homelab automation UX, there’s undoubtedly better alternatives.
…And that appears to be it. So it boiled to down to “performance”. Does that in and of itself make Ruby “not a serious programming language”. Well, if it does, then the same applies to Python. Does it mean that there’s probably a better alternative for any given application? Probably yes.
You forgot about the lack of static type hints. That’s a serious flaw.
If you ignore the performance and lack of static types, then I don’t think there’s too much wrong with Ruby but apart from Rails there isn’t really a compelling reason to use it over Python either. And that’s not saying much!
Eh. Almost every tool has its place. I use Python for all my automation needs, a niche in which it serves perfectly well. Surely you wouldn’t argue that Rust or C++ would be a more appropriate alternative in that kind of role because they’re statically typed. Then there’s other things - I enjoy having Jupyter Notebook on hand for rapid prototyping, sanity checks or quick testing of ideas, plotting etc. It certainly beats using Octave, at least in terms of ergonomics. Most of my recent C++ projects uses Python generated Ninja scripts as the build system, and so on. It is possible there’s something out there that would serve those needs of mine better than Python? Sure, but if so, I don’t think I know what it is.
Not C++. Rust hopefully, when
cargo scriptis stabilised!Until then I strongly prefer Deno (which is also statically typed) for ad-hoc scripting. Python is surprisingly bad for that use case despite it being super popular for it because:
I agree that Python’s handling of 3rd-party dependencies is cumbersome, especially for scenarios that would have otherwise been trivial. However… The use-cases I’m referring to in my context have no need for anything outside the standard library. I’m literally talking about using Python as a shell script alternative, more or less.
…Which is admittedly the lowest of bars. It’s hard to be less ergonomic or more arcane than Shell script - unless one resorts to the Dark Arts of Perl or APL.
This is the first time I’ve heard of Deno, but I’m not sure that having to install a 110Mb JS VM + runtime is more convenient in my context than simply using Python which is already guaranteed to available on any system I use and does all I need. Is Typescript a better language than Python? Perhaps. Does that matter for my use-cases? No, not really. I definitely wouldn’t use Rust - or any other compiled language - for scripting. While I haven’t had time to look at Zig as much as I’d like, I do adore the language so far - I can definitely see myself transitioning from C++ to Zig, and likely will to the extent I’m able. Still don’t see it as a Python replacement though (again, for my use-cases - I’m emphatically not arguing that there isn’t plenty of projects implemented in Python that could have benefited from being written in Zig or Rust instead).
If you have any other suggestions for viable alternatives, I’m open to suggestions though.
You actually get stupider using rails. This is a fact.
No problem with 3rd-party scripts and frames blocked.
Seriously, this lets me read more articles than with only adblocking.
Huh. The thing is, I do block 3rd party scripts and frames by default (umatrix).
Me too. What happened there? I thought it might be because some of my browser extensions block few scripts and other elements. Enabling some of the stuff didn’t make reveal the article, so I lost interest. Or is it paid?
I honestly didn’t care enough to spend time looking into it as I’m not being paid to make Wired’s website functional. Thankfully, BrikoX was the real MVP and ensured nobody has to actually go there to access the content by posting an archive link.