this post was submitted on 24 Mar 2024
204 points (95.5% liked)

Programmer Humor

19564 readers
1663 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
you are viewing a single comment's thread
view the rest of the comments
[–] Haus@kbin.social 12 points 7 months ago (1 children)

My experience in going from C to C++ was different: if you're not converting everything from mallocs with custom addressing systems to the collections framework, you're not living.

[–] Jajcus@kbin.social 10 points 7 months ago (2 children)

My experience with C++ was when C++ was a relatively new thing. Practically the only notable feature provided by the standard library, was that unholy abuse of bit shift operators for I/O. No standard collections or any other data types.

And every compiler would consider something else a valid C++ code or interpret the same code differently.

I am little bit prejudiced since then… and that is probably where the author is coming from too.

Then things were just getting more complicated (templates and other new syntax quirks), to fill the holes in attempts to make C a 'high level language'.

[–] AMDIsOurLord@lemmy.ml 8 points 7 months ago

C++ from 11 onwards started to really shine and since C++17 it's got some good shit inside

[–] Adanisi@lemmy.zip 1 points 7 months ago (1 children)

Yeah wtf is up with the overridden bitshifts? Was Stroustroup drunk?

[–] xmunk@sh.itjust.works 0 points 7 months ago

It's a syntax sugaring and it reads pretty well in my eyes - it's really obvious what is meant by that syntax.