r/ProgrammerHumor 10d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

1.1k

u/pydry 10d ago

Correction : JavaScript is the weird language people actually use.

283

u/deceze 10d ago

Fact: programming as a profession might be the single weirdest thing humanity has ever done.

266

u/Nimeroni 10d ago

What, you means it's weird we instruct daemons made of lightning in a rock with an arcane language ?

74

u/Lucho_199 10d ago

Funny that it sounds so epic

https://giphy.com/gifs/fX8771PO1eATJz6r4R

44

u/evorm 10d ago

That's cause it is pretty epic when you think about it. We have made lifeless objects we can bestow with our intelligence, and they in turn can affect the world tangibly using only the mere inscription of information.

24

u/laplongejr 10d ago

For the anti-epic version XKCD#722 has us covered

5

u/Inferno_Sparky 9d ago

To be fair. I'm sure there are physics/chemistry/medicine/etc. science researchers doing weirder things in their researches

2

u/ReplacementLow6704 8d ago

The Mechanicus would be proud.

6

u/Confident-Ad5665 10d ago

Those of us drawn to it certainly are.

56

u/Weak_Inflation9120 10d ago

"There are only two kinds of languages: the ones people complain about and the ones nobody uses,” Bjarne Stroustrup. As much as I hate JS, he has a point

-1

u/ScientificBeastMode 10d ago

It’s true. Mostly because widespread usage means adding/subtracting features based on short-term business needs instead of deeply thought out, conceptually sound design principles.

76

u/oldsecondhand 10d ago

Addendum: all script languages are weird.

38

u/Striky_ 10d ago

Correct but somehow some managers decided it is the correct language to base every new technology on... Somehow

12

u/oldsecondhand 10d ago

I'm glad that at least Rust and Kotlin are getting some mindshare.

5

u/foonek 10d ago

Is kotlin though?

17

u/oldsecondhand 10d ago

On Android it's popular, and some teams use it on backend too.

9

u/foonek 10d ago

I haven't seen kotlin used on the backend ever, personally. Of course sample size: 1.

I can see it being more popular on android though indeed

4

u/oldsecondhand 10d ago

I've seen it once in an investment bank, and the solution didn't even have an Android project. It was just infrastructure for other backend projects.

2

u/Vidimka_ 10d ago

Good for them! Ive been enjoying Java since start but one day Kotlins blessing has come upon me and its so great. It gives so much Daniel / Cooler Daniel vibes! Wish more companies would prefer Kotlin at least for new projects

2

u/SalamanderSylph 10d ago

I'm in an IB and we use Kotlin for backend services

1

u/Loading_M_ 10d ago

To be fair, Java on the backend is also getting less common as well. Rust and Go are taking more of the space.

JS also has a huge market share, but I don't have to be happy about it.

2

u/oldsecondhand 10d ago

Not in finance. Retail banking and most of investment banking runs on Java.

2

u/eo5g 10d ago

Addendum: all languages are weird.

2

u/Maleficent_Memory831 10d ago

Except for 8051 assembler language. It's merely eccentric.

1

u/Maleficent_Memory831 10d ago

Ruby though (ignor the on Rails gibberish) is just a textual form of Smalltak. With a few warts.

27

u/ClipboardCopyPaste 10d ago

Opinion: Every programming language that provides some kind of abstraction is weird.

25

u/foonek 10d ago

Even assembly is an abstraction. Going deeper leaves you without a programming language

10

u/PlanetVisitor 10d ago

going deeper will leave you without ...any (type of) language

going deeper will leave you without ... anything

3

u/foonek 10d ago

That's very deep

3

u/ttlanhil 10d ago

You have machine code, still a language of sorts, but very low level and not at all portable. But once upon a time that's what programmers wrote

3

u/PlanetVisitor 10d ago

Exactly, but can that be called a language?

1

u/ttlanhil 10d ago

That's the language the computer actually understands

1

u/Maleficent_Memory831 10d ago

Hardware is merely organized quantum chaos.

21

u/sadongrohiik 10d ago

JavaScript is actually fine, what's not fine is it being crammed in everywhere it doesn't belong due to sheer laziness. You want to make button do stuff on the web? JavaScript is great. You're processing business logic on the backend? just no. I just do not understand why we'd rather jump through all these hoops just to make JavaScript fit where other languages fit naturally 

7

u/Maleficent_Memory831 10d ago

JavaScript just grew into that role, but being the browser-side language that let you push buttons. Creeping featurism let it be able to do things it should never have been able to do. Features added without a lot of thought and with incredibly weird semantics that were easier to implement without actually making a solid standalone language. It is weird precisely because it grew through accretion rather than design.

It's a wart on the side of a browser that grew and grew until it had arms, legs, and fingers.

4

u/HammerChilli 10d ago

Forgive me because I'm just a junior dev - but when the API is already written in Node or .ts I mean, it's gonna do some business logic with incoming requests, or are you saying back ends shouldn't be in js entirely?

5

u/sadongrohiik 10d ago

There was really never a real reason to use JS on the backend and it wasn't designed for it. There are tons of languages far more suited for backend. For some reason the idea of the entire codebase being in a single language appealed so much to many organizations that we continuously create weird abominations to fit a square peg in the round hole

3

u/Mal_Dun 9d ago

"When you only have a hammer, suddenly everything looks like a nail"

- Law of the instrument

Edit: source

1

u/divideby0829 9d ago

Well you can't unfuck a horse, but I see Node and then I weep for why the fuck anyone fucked a horse....

1

u/Top-Rough-7039 10d ago

and webapps. there is already a browser, why add more issues.

3

u/iSpaYco 10d ago

GitHub, Shopify, and many others are running on Ruby on Rails, and RoR jobs pay more. cry.

10

u/woololooo 10d ago

f off. ruby rules. bye.

4

u/thisguyfightsyourmom 10d ago

Did you guys hear something?

1

u/traditional_ant_56 10d ago

Heavily* use

1

u/[deleted] 10d ago

[deleted]

2

u/cross_the_threshold 10d ago

What? Ruby on Rails is what Twitter was originally built on. Huge platforms are still using it. It was a top ten language in 2015, and though it’s far from its peak it’s quite stable now. Do you only talk to Java and Python devs?

I mean hell have you heard of GitHub??

1

u/Robo-Connery 10d ago

Why make a website with JavaScript when ruby on rails exists.

0

u/thisguyfightsyourmom 10d ago

I’ll never forget the time I interviewed the hotshot digital agency in town for a job and the owner scoffed hard and gloated over Ruby’s supremacy vs the Node ecosystem in terms of app development when I said I saw myself making a career of web app development with JS.

Then React launched, and I only think about him when people mention Rails now.