Thread replies: 12
Thread images: 1
Anonymous
2016-01-03 17:35:28 Post No. 52213194
[Report]
Image search:
[Google]
Anonymous
2016-01-03 17:35:28
Post No. 52213194
[Report]
Hey /g/, let's talk modern c++.
I used to be a smug c programmer who was convinced that c++ was just a bunch of bloat. However, after looking at the new features of the language, I've determined that opinion was wrong. Here's why:
* move semantics
* type inference
* lvalues/rvalues
* lambda expressions, and the control given to the programmer to determine how to capture the lambda's parent scope
* polymorphic STL is unbelievably extendable and robust
* robust and modern libraries that have been developed by the likes of Facebook and Google that support modern web development
Yeah, you can emulate this stuff in C, but it will take significantly more LoC, and the compiler won't be on your side. It's a lot easier to write a robust and modern application in C++ than C today.
What are your thoughts, /g/?