25 ms·
I don't know if you're disappointed that some comments were stating the obvious (the code stinks) or that all the more experienced coders joined in on the pile-
by brendn 15y ago
I don't know if you're disappointed that some comments were stating the obvious (the code stinks) or that all the more experienced coders joined in on the pile-on.
I agree that it would be nice if the OP took the time to deconstruct the example and explain why some of the coding practices are bad. Then again, some of the comments do explain why it's bad code. Seeing comments like the one below, however, makes me wish there were enough time in the world to educate beginner programmers (and that they'd all give a darn about avoiding problems like this).
> Hm... I like this code. All the stuff is combined together in one place.