22 points surprisetalk 31 minutes ago 9 comments
raincole 13 minutes ago | parent
No language scares me like C++ does. Look at this page: https://www.learncpp.com/cpp-tutorial/variable-assignment-an...
This is just a single section of the first chapter of a beginner tutorial. And it's already more things to remember than, say, the whole Lua.
apples_oranges 9 minutes ago | parent
C++ dev here. I love this mess of a language ..
raincole 6 minutes ago | parent
Yes, people even have a term for this. It's named after a Swedish city.
01HNNWZ0MV43FF 6 minutes ago | parent
Did you see the "Spooky C++" post? https://www.nablag.com/spooky_cpp
Did you already know that? Do all your junior C++ programmers know that? Do you have lints turned on in every C++ project and dep for that?
Cause I had to really look at it to figure it out. And I had to think, "Would Rust allow this code?"
chuckadams 6 minutes ago | parent
Reading Effective C++ those many years ago was eye-opening in a couple ways: initially for the intended reason in the title of the book, but later it felt like having a map to a minefield: good info to have, but it felt more prudent to stay out of the minefield in the first place.
fnord77 6 minutes ago | parent
[delayed]
vinyl7 8 minutes ago | parent
The only sane usage of C++ is to only use a very small subset of its features.