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

Programmer Humor

19564 readers
589 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 5 months ago (19 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:-).

[–] [email protected] 16 points 5 months ago (2 children)

Pretty much all of the command line coreutils programs I use daily are in C; cd, ls, pwd, touch, rm, etc. If I want to write some small utility I'll usually reach for a scripting language first like bash python ruby etc, but if it needs to be small and fast I'll use C instead.

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

Genuine question: if you're writing a new CLI utility, why not Rust? This is arguably where Rust has most excelled, most famously with ripgrep.

[–] [email protected] 4 points 5 months ago

I don't have anything against Rust, I'm just not very familiar with it

load more comments (16 replies)