> The lengths people will go to not use C++ is staggering.
Every C thread on every forum always has some C++ proponent jumping in to bemoan that people prefer one of the simplest languages over, literally, the most complex (from a programmer PoV) language in existence.
Is it really such a stretch to believe that people prefer readability and maintainability over expressive power?
The "lengths" in this case is small - a once of cost of a few days to implement vector and string functions gets you most of what most developers need and want.
Every single time there are some people who love C (in my experience for the reason they haven't worked professionally in C++) that claim that they're actually WAY more productive and readable when working in C.
C++ is basically almost a perfect super-set of C. Use the parts of C++ that are useful to you, don't use the parts that aren't. Clearly std::vector, std::string, std::unordered_map would be ultra useful to anyone. Especially because they are easier to use, more optimized, not as prone to errors as their C equivalents.
I blame Jonathan Blow and Muratori for this. They somehow got the entire gamedev community to worship the idea of writing things in C. People grow out of it really fast though, as soon as they actually learn C++.
lelanthran|3 years ago
Every C thread on every forum always has some C++ proponent jumping in to bemoan that people prefer one of the simplest languages over, literally, the most complex (from a programmer PoV) language in existence.
Is it really such a stretch to believe that people prefer readability and maintainability over expressive power?
The "lengths" in this case is small - a once of cost of a few days to implement vector and string functions gets you most of what most developers need and want.
ImprobableTruth|3 years ago
somerando7|3 years ago
C++ is basically almost a perfect super-set of C. Use the parts of C++ that are useful to you, don't use the parts that aren't. Clearly std::vector, std::string, std::unordered_map would be ultra useful to anyone. Especially because they are easier to use, more optimized, not as prone to errors as their C equivalents.
I blame Jonathan Blow and Muratori for this. They somehow got the entire gamedev community to worship the idea of writing things in C. People grow out of it really fast though, as soon as they actually learn C++.
c3534l|3 years ago
DeathArrow|3 years ago
me_me_me|3 years ago