|
|
|
|
|
by Panzerschrek
3 days ago
|
|
> Don’t use RTTI. That's the core feature of the language. Not using it doesn't make any sense. > Don’t use stream (<iostream>, <stringstream>, etc.), use printf style functions instead. printf is type-unsafe and bug-prone. Also modern C++ standards have better formatting utilities. > Don’t use anything from STL that allocates memory, unless you don’t care about memory management. In 99.9% of the time one should not care. Using something like std::vector is perfectly fine. Overall I find such "Orthodox" C++ harmful. I call it "pure C heresy". |
|