this post was submitted on 14 Jun 2024
657 points (92.8% liked)

Programmer Humor

19804 readers
943 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 6 months ago* (last edited 6 months ago) (1 children)

That makes it versatile, not powerful.

When I hear powerful language, I think of languages that are good at intensive tasks like assembly, c, rust, Python (because of numpy, pandas, pyspark, cuda, etc.).

[–] [email protected] 12 points 6 months ago (1 children)

Python is powerful because it easily wraps C libraries that do real work! Just kidding mostly.

But yeah, js isn't a language I would describe as powerful. Ubiquitous? More capable than you would expect given it's history? Bloated?

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago) (1 children)

Python is powerful because it easily wraps C libraries that do real work! Just kidding mostly.

Not kidding. There's no rule against that though. It's good at it's niche.

[–] [email protected] 1 points 6 months ago (1 children)

Does that not put JS (node) back on the table?

I'd say it's the low level language doing the heavy lifting, python or JS in this scenario are just front-ends.

Hell, I think FORTH has C bindings, that's not power, that's mental illness

[–] [email protected] 6 points 6 months ago (1 children)

Sure, but there are good and bad frontends. JavaScript has a tendency to silently fly off the handle in mysterious ways due to the crazy type system. Python will typically fail more predictably, and is famously easy to write. I know nothing about FORTH, honestly.

[–] [email protected] 2 points 6 months ago

Dw, no one does.