|
|
|
|
|
by g1236627
4038 days ago
|
|
I agree with everything except abbreviations, but to be honest, I think my worst habit it just trying to use words with the same number of characters for different variables so they align well with monospace font. e.g. int num = 42;
int acc = 0;
instead of; int n = 42;
int acc = 0;
and it gets worse when things get complicated; vector<int> dist; // stands for distances
vector<int> excs; // stands for excesses
Does anyone else have this problem? |
|