horror code, optimization needed Horror Code - Who Needs Enumerators? When I stumbled into this piece of C code, at first, it looked not so bad to me. void foobar(const char *par) { if (!strcmp(par, "FirstString")) { // do
working life, horror code, optimization needed Horror Code - Loop And Re-loop Some time ago, a colleague of mine told me to look at a function. It was something similar to this: void foo(struct bar array[], unsigned int count) { /* some initialization
personal, optimization needed, politics, usability, fail VeryBello Is The New Italia.it In the beginning (2007) there was Italia.it [http://www.italia.it/], a promotional website commissioned by the Italian government. Its main goal should have been attracting foreign tourists. The
horror code, optimization needed Horror Code - Why? When I have found the following snippet, I spent several minutes trying to understand if I was missing something. while (x >= 0) { x--; y--; } I have only a question: