r/ProgrammerHumor • • 3d ago

Meme polyglotProgrammers

1.6k Upvotes

95 comments sorted by

View all comments

470

u/AsaKeyholderUK 3d ago

yeah being a polyglot is mostly just being mediocre in more places. I know enough rust to be dangerous and enough js to be sorry

33

u/ShakaUVM 3d ago

If you learn enough languages you realize they're all the same eventually.

-10

u/chwrryrolled 2d ago

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

14

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.

→ More replies (1)

6

u/ShakaUVM 2d 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.

→ More replies (5)

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.

→ More replies (1)

78

u/FlashDrive35 3d ago

can confirm, I know the very very basics of a lot of languages but can't really do more complicated projects

86

u/s0ulbrother 3d ago

The point is all programming languages are relatively the same, better for something’s than others, to be a good polyglot you need to ignore the idea of languages and realize what are my thoughts and what do I need to do to make x work. You can know 100 languages or 1 but being able to think is more important than the numbers

22

u/BosonCollider 3d ago

This. The syntax and even the language paradigm should not really be much of an obstacle once you get going. The library ecosystem on the other hand might be an obstacle, and language performance can be a blocker for some tasks

19

u/neohellpoet 2d ago

It's coding vs programing.

Sure, it compiles but your code also appends a list at the end of a loop and then empties it at the beginning. It's good code in the sense that it does in fact work, it just doesn't do what you want it to do.

The ability to write a program that does something measurably faster, smaller or more reliably is the real skill and that's largely language independent.

1

u/manias 2d ago

Except Haskell. Haskell can get bent.

2

u/capi1500 2d ago

You know scratch, you're good

2

u/nhermosilla14 2d ago

You should at least get very good at one. Then the others feel much easier, and if they share the same paradigm, it's really the same ideas and design patterns. For example, a while ago I was trying to write binary data using Python. I didn't really understand much of that, but I did know how to do that easily using C. Even back then it was rather easy to find resources on the internet in order to "translate" the logic. Now with AI it's even easier.

1

u/FlashDrive35 2d ago

Oh absolutely, my university just has us learning a variety lol, but I'm working mostly on C outside of class for projects, team work, and whatnot since I want to work primarily in embedded. I still struggle on translating between OOP and non-OOP but it's a work in progress

24

u/redditmarks_markII 3d ago

I've caused incidents in twelve systems!

/jk. I'm implying twelve different systems based on different languages, but I don't know twelve languages to even be dangerous. Maybe 6? but php is definitely one of them. Java, JS, go, php, python, technically pascal, enough c++ to be dumb enough to think about trying and smart enough to stop myself. and the idea of assembly.

8

u/captainAwesomePants 3d ago

Oooo, an EXPERT JavaScript dev, then.

5

u/natFromBobsBurgers 3d ago

I like to say I know enough JavaScript to terrify and be terrified.

2

u/Nevermind04 2d ago

What type of terror, exactly?

1

u/natFromBobsBurgers 2d ago

Well, all kinds really, but JavaScript really gets me with that low thrum of realizing the people who make the things we rely on are just people.

1

u/rosuav 2d ago

If you can explain why []+[], []+{}, {}+[], and {}+{} each do what they do, you know enough JS to terrify.

1

u/Aksds 3d ago

You know enough rust for a tetanus shot

1

u/jayerp 3d ago

Enough JS to swipe left.

1

u/SweetBabyAlaska 2d ago

I can't relate. I feel like pretty much everything that I have learned carries over to every language, the only annoying thing to learn is language specific stuff like the syntax, best practices, the stdlib, the build system, etc... but generally speaking, a good language will have a way to pick all that up really quickly.