r/ProgrammerHumor • • 3d ago

Meme polyglotProgrammers

1.6k Upvotes

94 comments sorted by

View all comments

Show parent comment

-10

u/chwrryrolled 3d ago

Then you didn't learn enough languages, how they are all same? Why people keep inventing more if they are all same?

15

u/start_select 2d ago

Because at some point you see the abstraction not the syntax.

I.e. being able to understand how a closure or a promise is implemented, then understanding what syntactic sugar like anonymous functions and async-await actually do.

Under the hood most of it actually is the same. What’s special about different languages are the few things that are actually different. And that’s usually all about how they choose to represent the same underlying concept rather than something unique to that language.

1

u/chwrryrolled 2d ago edited 2d ago

Yeah i know, i can see the abstraction and it still doesn't makes me say they are all same. Abstraction is kind of a difference imo, it changes a lot in your code and comfort level to write. Honestly even a simple feature gets removed from my daily used language it would annoy me a lot probably even make me abandon my ongoing projects. Also there are other kind of concepts that can't even be implemented in a different way in other languages because being unique to type-system or even to runtime model

6

u/ShakaUVM 3d ago

In my programming languages class we learned one a week, in different categories, like we would learn a functional one week, a scripting language the next week, a reflective language the next week, etc.

There are strengths and weaknesses to all languages, but when you reach nirvana you realize that they're all the same at the end of the day.

0

u/chwrryrolled 3d ago edited 3d ago

I see, depends on how you define a difference i guess. That's not something about reaching to nirvana or stuff, you can hear "they are all same" quote from a lot of beginners. So that's making me feel like it's like a memorized thingy. Also most of the time who thinks like that is someone only worked with the languages from same family or writing a lot of anti-patterns that coming from their daily used languages and think that they just learned everything in the new language. You can't say all foods are same just because you chew/drink it and they all go to stomach at the end of the day

1

u/ShakaUVM 2d ago

you can hear "they are all same" quote from a lot of beginners. So that's making me feel like it's like a memorized thingy.

Queue the IQ bell curve meme

2

u/chwrryrolled 2d ago

You know people can copy other's ideas and say it as it's their own idea right? That's what i meant when i said memorized. Also if it's going to fit into your meme there was also a time i thought they are all same and i was wrong to say that they are not back then just because i was able to "code" in the language i have just started, i wrote an app that i maintained like two years and what i learned at the end was how much i can be wrong again. It was full of anti-patterns and easy to catch how my old habits affected it, now i feel shame to call it same

If you say they are all same, i would expect not only you but anyone to be able to be comfortable in any language. For a really simple example JavaScript and TypeScript do the exact same stuff in execution but any TypeScript dev i know doesn't wants to switch back to JavaScript. Why? Let's fill in the blanks together!!! Because they are _________! (๑ˊᗜˋ๑)

If you think it's not a difference, then again as i said you are defining different a bit different. I honestly see it as an insult to call they same as someone who works a lot on designing languages. Why most of people hate JavaScript but love Rust if they are same? Would be happy if you explain what do you mean by "same"

2

u/ShakaUVM 2d ago

Why most of people hate JavaScript but love Rust if they are same? Would be happy if you explain what do you mean by "same"

There's advantages and disadvantages in each language, like Rust gives contractual guarantees of correctness in its borrow checker, but at the end of the day your program is going to get some input, do some computations, and produce some output using what boils down to the same sort of primitives just with different syntax.

2

u/chwrryrolled 2d ago

at the end of the day your program is going to get some input, do some computations, and produce some output using what boils down to the same sort of primitives

That's exactly why i said you can't say every food is same because you chew/drink it

1

u/AngryRobot42 2d ago

I wouldn't say they are all the same. There are groups of languages that behave and are programmed in a similar way. People are viewing it from a perspective of programming syntax OR operational runtime. Sure, technical experts are needed for efficiency but they will always take 10x longer than a project needs to make a single operation run a millisecond faster. Where as a architect or lead will try to implement and iterate to degree of functional use. However, this tends to introduce bugs and technical debt.

There is no singular approach to everything but it is not hard to context switch when you do have a good understanding of multiple languages.

1

u/chwrryrolled 2d ago edited 2d ago

Yes i agree with that! (,,◜ヮ◝,,) Saying that they are all same sounds like learning one means you already know others, which is definitely not true i am not even open to argue about this. For the languages that behave in the same way which you mentioned, it's pretty common to call them same since context switching will be easy! But "all of them"?? That sounds crazy