this post was submitted on 24 Mar 2024
206 points (95.6% liked)

Programmer Humor

19503 readers
339 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
[–] [email protected] 13 points 7 months ago (4 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.

[–] [email protected] 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'.

[–] [email protected] 8 points 7 months ago

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

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

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

[–] [email protected] 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.

load more comments (1 replies)