3 ms·
Ugh tell me about it. My colleague(s) and superior(s) all write C++ like it is C from 1989. Coding standards exist, but they basically enforce indentation rules
by 72deluxe 11y ago
Ugh tell me about it. My colleague(s) and superior(s) all write C++ like it is C from 1989. Coding standards exist, but they basically enforce indentation rules.
Const-correctness, use of references ("those things with ampersands by them...." said colleague A), exceptions are all unknown to them.
Object-slicing is a risk ("what's object slicing??").
Pointers are thrown around, added to multiple lists, no RAII, no initialisation of variables, use of memcpy everywhere, no copy constructors, C-style casts EVERYWHERE (including casting to siblings and their descendants...). Arrays are used everywhere, occasionally vectors are used but used like arrays (which isn't so bad), but they're used alongside arrays instead of replacing them; naked new/delete, use of malloc and realloc periodically; for loops are using instead of STL algorithms.
And this is a NEW codebase.
I am desperate to leave.
Does anyone need a C++ developer? Please, someone help!