because people seem to complain about c++ programs that don't make full use of templates, exceptions, etc, etc. |
Nah, you don't have to use everything.
Templates and exceptions can be abused like anything else.
To be honest I try to use those exception handeling as little as possible and I practically never use templates.
When I do something where I need exceptions i write a base-library which does all the exception handeling stuff so that I don't have to care about that anymore.
When I need templates I write a class that contains all operations I need so that I don't have to think about it anymore.
Don't get me wrong, I still have a pretty good understanding of them.
Mostly because I like to keep it simple, and c++ feels like it's bloated, the standard library is huge, it has a lot of useful but not necessary stuff(as far as I can tell) |
Yeah, the C++ standard library is huge and has lot of useful stuff.
To be honest you don't need anything (except type_traits for templates) in there because you can make (nearly) everything yourself because most of the c++ standard library is written in C++.
However I like the standard library because it has many features that I can make use of.
Streams are amazing for formatted input/output operations.
std::vector is an amazing dynamic generic container.
std::string is an amazing class for handling text. (far surpirior to c-strings)
std::shared_ptr is amazing for memory-management
You can write your own container class and use the algorithms with little effort.
I am not saying that you have to use them but when writing code in c++ your code might get clearer and easier to read when you use some features of the standard-library.