News for hackers. Stuff that matters.
Re:Learn Modern C++ by fsloth on Tuesday December 26, 2023 @02:09PM (#38774880)
I think in any case you need to learn C before C++. As a language C++ is a footgun. Unless you really want to learn it or need it for a job, it’s not something you pick up for fun. If you want to do computer graphics or computational geometry it’s best to learn the language - not for it’s own sake but because so much of the domain works in it.
Re:Learn Modern C++ by angiosperm on Tuesday December 26, 2023 @02:19PM (#38775005)
No. Starting with C is the way to lock in bad habits and buggy coding. Writing fully modern C++ eliminates myriad sources of bugs and security holes.
Re:Learn Modern C++ by uecker on Tuesday December 26, 2023 @04:25PM (#38776227)
One can write very nice code in C and modern tools also eliminate a myriad sources of bugs. Modern C++ can be nice but adds a lot of complexity. I am much happier with C.
Re:Learn Modern C++ by f1shy on Tuesday December 26, 2023 @02:35PM (#38775191)
And adds many other problems. No silver bullet.
Re:Learn Modern C++ by angiosperm on Tuesday December 26, 2023 @02:57PM (#38775424)
New features pass a very strict gauntlet; they have to solve common, serious problems. Using the new features eliminates exactly those problems.