this post was submitted on 14 Jun 2024
659 points (93.0% liked)

Programmer Humor

19623 readers
21 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 1 year ago
MODERATORS
 

Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 5 months ago (14 children)

What is C essential for anymore these days? Genuine question btw.

I thought C++ was essential for microprocessor control, but that it depends and sometimes I gather people use C instead, but not always.

Use the language that the company hires you to know:-).

[–] MiltownClowns 12 points 5 months ago (1 children)

Used to be embedded systems mostly. Microwaves and the like. Although with the advance of the smart home I don't know I'd that's still true.

load more comments (1 replies)
[–] psycho_driver 6 points 5 months ago (1 children)

The thing with C is that it's almost always going to be the fastest high-ish level language and it has an extremely stable ABI. Self contained code written 30 years ago will likely compile with only minor (and sometimes no) tweaks today. You're lucky to go 3 years on C++ without something fairly big breaking due to changes in the underlying language and ABI.

load more comments (1 replies)
[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (3 children)

This is a really good post about why C is so difficult to seriously consider replacing, or even to avoid by using a different language for certain projects: https://faultlore.com/blah/c-isnt-a-language/

load more comments (3 replies)
load more comments (11 replies)
[–] [email protected] 9 points 5 months ago (1 children)
[–] [email protected] 5 points 5 months ago
[–] [email protected] 9 points 5 months ago (1 children)

There is another That you might say is a little rusty

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

This meme only works if you don't include any example that is better than others in every regard.

load more comments (1 replies)
[–] [email protected] 7 points 5 months ago

Java is robust haha

load more comments
view more: ‹ prev next ›