Live data from Hacker News

Ruby 3.2.0 is from another dimension

tomaszs2.medium.com

101–110 of 341 posts

Re: Ruby 3.2.0 is from another dimension

#102
post #30

Annoying to use acronym "WASI" and assume that everyone knows what it means. Apparently it’s Web Assembly System Interface. But what does that mean? To quote from https://github.com/WebAssembly/WASI : > The WebAssembly System Interface is not a monolithic standard system interface, but is instead a modular collection of standardized APIs. None of the APIs are required to be implemented to have a compliant runtime. In…

Other accronyms that people outside of the intended audience might not know about:

- JIT - "just-in-time" compilation

- YJIT - "Yet Another Ruby JIT"

- Regex - "regular expression" / sometimes "rational expression"

Re: Ruby 3.2.0 is from another dimension

#103
post #70

Earlier quoted context omitted.

??? Python was huge in the 90's? News to me. No one I knew knew about it until like 2010.

LOL, you and your friends have been living under a rock. I have been using Python since (at most) 2002.

> I have been using Python since (at most) 2002.

So 4 years after Google.

Which made my point to the parent.

And apparently everyone's been living under a rock because Python didn't become truly huge until maybe 10 years ago.

Re: Ruby 3.2.0 is from another dimension

#104

Ruby is my favorite language, and often it is a joy to use because of its combined attributes of brevity, expressive power, and feature consistency. It's disappointing that there are so many more jobs for another popular language - one that lacks the elegance and consistency but which has a larger ecosystem. As far as I know, the only well known reason for a company to choose Ruby is if they want Rails (and obviously…

I chose python over ruby eons ago because, for whatever reason, ruby reminded me of perl (not a good thing). Something about the syntax turned me off. Rust has similar problems for me.

Re: Ruby 3.2.0 is from another dimension

#105

Ruby is my favorite language, and often it is a joy to use because of its combined attributes of brevity, expressive power, and feature consistency. It's disappointing that there are so many more jobs for another popular language - one that lacks the elegance and consistency but which has a larger ecosystem. As far as I know, the only well known reason for a company to choose Ruby is if they want Rails (and obviously…

What made me pick Django (and Python) over RoR back in 2009 when I was looking for next language after becoming unhappy PHP was experience with part of its community.

But it wasn't positive experience with Djangonauts. It was negative experience with RoR devs. I've never had random Django person come from nowhere either on web dev forum or PHP forum to *flame* others for using PHP. But it was regular thing with Rails devs. AFAIR the term "Rails Zealot", meaning combative tribalistic RoR developer who goes around the web to try to convince other devs that they should switch to RoR using aggressive and flaming rhetoric comes from around that time.

I've though this was regular PHP hate, but when I've started learning Django and participating on Python communities I've found out that at smaller scale the flamewars are also there. But this time the reasons why I am "harming myself" and "not real programing" were different.

Re: Ruby 3.2.0 is from another dimension

#106

Ruby is my favorite language, and often it is a joy to use because of its combined attributes of brevity, expressive power, and feature consistency. It's disappointing that there are so many more jobs for another popular language - one that lacks the elegance and consistency but which has a larger ecosystem. As far as I know, the only well known reason for a company to choose Ruby is if they want Rails (and obviously…

So, how do you reconcile this opinion with the fact that Ruby can't even do a proper REPL on Windows? It just starts showing weird output, overwriting lines and doubling up other ones... that other language just works.

And look, I LOVE Ruby. I come from twentyish years of Perl, and I really like the way Ruby feels when banging out a script but these days, time is in short supply, and I just don't have time to screw around with Ruby.

If I were someone who was gravely concerned with Ruby's future, I really don't know where to even begin.

* DataSci/ML scene is basically nonexistent, that's a problem.

* Windows scene isn't good, at all. That's a problem. At least it's kinda there, so you wouldn't be starting from scratch at least, like Crystal team has fought with.

* I think something could be done with integrating Rubocop or some other linter (? idk what real Rubyists use) in order to begin solidifying the code culture. PEP8 is a huge factor of Python's success imo.

* Packaging. I'm not familiar with the modern Ruby stack, but in my limited dabbling, rake has done just fine. In Python, hearing about Packaging Issues is the new vogue from customers/people who have no idea what they're doing in the slightest. I've used pip/setup.py in the past, but funny enough I'm actually reading up on Hatch lately, which is the new hotness.

Anyhow, I don't think it's quite fair to throw this much shade at Python when Ruby hasn't really addressed any of the things that makes Python so popular. If Ruby is so much better, than it needs to do all those things at least as well if not better.

Re: Ruby 3.2.0 is from another dimension

#107
post #46

Earlier quoted context omitted.

You are obviously referring to Python and so I would like to note a few things. (I have nothing against Ruby) > Ruby ... its combined attributes of brevity, expressive power, and feature consistency. > [Python] lacks the elegance and consistency First I would argue Python is very consistent in its design, it aims to only have one obvious way to do things and so it's easy to guess how apis will work. It also aims for…

I explored this topic a while ago on my blog [0] In essence, I don't think it has anything to do with elegance, syntax, or "easiness". It's more about timing + origin + corporate adoption: * Python was created in Europe, Ruby was created in Japan - when Ruby gained more recognition in English-speaking world (~2004), Python has already been present and used worldwide for a decade * Ruby was created as a personal, hobb…

Agreed on timing… twitter, Shopify, GitHub, Stripe - to name a few notable brands that followed using Ruby as their core language

Re: Ruby 3.2.0 is from another dimension

#108

Earlier quoted context omitted.

They did apparently manage to make their interpreter figure out where mismatched "end" statements are most likely to be, which was one several serious pain points for me with the language. I don't think the execution model you mention, which results in the absurdity of C style transitive includes polluting the global namespace, will ever be changed though.

> They did apparently manage to make their interpreter figure out where mismatched "end" statements are most likely to be, which was one several serious pain points for me with the language. Searching for a mismatched/missing _end_ is preferable to having a line or block get accidentally unindented and end up still "working" (running) while producing very confusing results. Moving blocks of code in Python requires gr…

I had over million euro of machinery stop because a rarely reached branch had one line with one less space due to missing linter run. Apparently Python 3 still doesn't fully parse and validate code on load, or somehow it made a valid if nonsense AST out of that.

Re: Ruby 3.2.0 is from another dimension

#109

Ruby is my favorite language, and often it is a joy to use because of its combined attributes of brevity, expressive power, and feature consistency. It's disappointing that there are so many more jobs for another popular language - one that lacks the elegance and consistency but which has a larger ecosystem. As far as I know, the only well known reason for a company to choose Ruby is if they want Rails (and obviously…

So, how do you reconcile this opinion with the fact that Ruby can't even do a proper REPL on Windows? It just starts showing weird output, overwriting lines and doubling up other ones... that other language just works. And look, I LOVE Ruby. I come from twentyish years of Perl, and I really like the way Ruby feels when banging out a script but these days, time is in short supply, and I just don't have time to screw a…

If anyone reading this is thinking “why does Windows even matter for development?” then congratulations because you’ve discovered you’re in a filter bubble.

Surveys, such as StackOverflow’s (https://survey.stackoverflow.co/2022/#section-most-popular-t...) consistently find that

> Windows is the most popular operating system for developers, across both personal and professional use.

If it makes anyone feel better, I’m in this filter bubble as well. I’ve never seen someone program professionally in Windows.

Re: Ruby 3.2.0 is from another dimension

#110

Earlier quoted context omitted.

LOL, you and your friends have been living under a rock. I have been using Python since (at most) 2002.

> I have been using Python since (at most) 2002. So 4 years after Google. Which made my point to the parent. And apparently everyone's been living under a rock because Python didn't become truly huge until maybe 10 years ago.

I did not start using python because it was adopted by Google. It was / is useful with or without Google.
Post reply on HN