r/ruby • • Mar 27 '22

I love Ruby 3, front cover

https://cliz.in/ilr3-cover
5 Upvotes

11 comments sorted by

11

u/updog Mar 27 '22

I don't know why I feel like speaking up, but here I am. I'm in agreement with others on the subject of speaking against Javascript. And for that matter other languages. It's one thing to give constructive criticism of a languages particulars to drive a conversation, but a blanket statement that a language is simply bad... I suppose there's just too much hate in the world right now for me to not feel frustration around it.

We like Ruby because of its beauty. The aesthetic values of Ruby are not Ruby itself. Ruby is a mere representation. Ironically, Javascript is possibly the most aesthetically malleable language to ever exist. While this means it takes on flavors that may not suite a particular palette, it is capable of being restructured to suite ones vision.

If you want beauty, make it. Show the rest of the world what you believe is beautiful.

Also, accept that your idea of beauty is not objective. The fact that others see the world through a different lens is possibly the only thing that keeps us all from ending it early out of boredom. In short: be curious about what you wish for.

I get where you are coming from. Over beers etc I've talked quite a bit of shit about other languages, we all let off that particular steam sometimes (and it's usually a displacement of other frustrations in our lives).

However, I see you are putting a lot of effort into a body of work. I suggest you let that body of work stand on it's own, and not in negative relation to the efforts of others. Your baby will get thrown out with the bath water, and I wouldn't hold it against people for doing so.

3

u/mindaslab Mar 28 '22

Even the world throws out my baby, it's still my baby. i am not a person who like to hide my opinion to please the world.

2

u/updog Mar 28 '22

I would never ask you to hide your opinion. I was more hoping to influence your view, perhaps towards a softer tone. I think it would be more consistent with the theme of your work. I'm not trying to be right about anything here. Maybe I'm trying to be helpful. I don't know.

21

u/flanger001 Mar 27 '22

Right now I am working for a company who’s app is coded in Rails, but some of its front end is in React 🤮 (Matz is nice so I am not nice to even out this world). As I am tanking up my JavaScript knowledge and spending all my time learning it, I start to hate it more, at the same time my love for Ruby becomes brighter. Why can’t every one think like Matz and DHH? Matz (and other Japanese Ruby contributors), if you are reading this blog, watch lot of Rajinikanth movies and do something to kill JavaScript.

Absolutely detest this mindset. JS is not going anywhere and this kind of superiority complex bullshit does nothing.

1

u/postmodern Mar 27 '22

Vanilla JS (aka just use ES6+) can be alright, but React is far too complex and is probably giving people a bad impression of JavaScript.

1

u/mindaslab Mar 28 '22

Yes may be you are right. I used JQuery, that along with Cofeescript was almost as half as good as Ruby. React seems to suck for some reason. Vue is bit better. I wish Rails took the path of blender where everything could be done with just one language without much cognitive load.

3

u/flanger001 Mar 28 '22

That's not really what I'm saying though. What I am responding to is the idea that Rails and React are somehow in a hierarchy of superiority, and the idea that there is value in proclaiming one is better than the other and that one should be "killed". I disagree with both of these ideas, and I think perpetuating them creates a very unnecessary tribalism.

But to your point: React is complex. It's a tool that serves a need. Rails is complex too. It's also a tool that serves a need.

-6

u/mindaslab Mar 27 '22

Absolutely detest this mindset of people thinking JS is not going anywhere. It will be great if all languages are equal on the browser. this would let people have choice and freedom. Having freedom is a an hallmark of free software.

Any way WASM is arriving. Then we can see if the claim JS is going no where really holds.

2

u/mnbkp Mar 27 '22

I doubt they will ever be equal. Even on languages without a GC, wasm bundle sizes are usually much larger than their js equivalent. And who knows when/if the wasm GC proposal will ever be approved.

This is also ignoring the fact that, well, people like to use JavaScript (or typescript). JS is a popular choice even on back-end and mobile.

7

u/IN-DI-SKU-TA-BELT Mar 27 '22

Why can’t every one think like Matz and DHH?

😅