getters & setters are bad, design patterns etc.The most common case that bugs me is the use of memset associated with C-style structs. (When I say...
Cast a char to int (actual numeric value)If you're asking what I think you're asking, you can just subtract '0': [code] char c = '3'; int n ...
3D printer firearmFirearms are very simple machines. 3D printing one is, well, more work than necessary...
getters & setters are bad, design patterns etc.It's easy to become lazy when designing a class (or lack there of). The issues presented here are n...
getters & setters are bad, design patterns etc.Consider a project at large scale. When you find some bug where the coordinates are bad, it's typic...