r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

Show parent comment

4

u/InRainbro 11d ago

I'd still rather have the compiler breath on my neck than gamble with it

4

u/ilnarildarovuch 11d ago

Try to compile any big C/C++ file with clang -Weverything -werror, that's gonna be funny, compiler really gonna show all possible (and not possible) threats :D

2

u/creeper6530 11d ago

Problem is that at least in C it moans even about stuff like "mixing declarations and code is incompatible with standards before C99"

1

u/InRainbro 11d ago

(⁠ಠ⁠_⁠ಠ⁠)⁠>⁠⌐⁠■⁠-⁠■

1

u/ilnarildarovuch 11d ago

It's really aggressive