4 ms·
Unless there is a lot of creative abuse of operator overloading or macros lurking in there that code really doesn't look too awful compared to some monstrositie
by arethuza 16y ago
Unless there is a lot of creative abuse of operator overloading or macros lurking in there that code really doesn't look too awful compared to some monstrosities I've had to work with.
- rubergly 16y agoI agree. At first glance, I thought that the NbrofA/AA/etc names were just gibberish. The most nonsensical part to me is starting the for-loop iterator at zero, and then only executing the function if the iterator is non-zero.
- arethuza 16y agoI hadn't even noticed the if - I was thinking it was loops all the way down....
- Someone 16y agoHm, did you check that each loop worked with its own loop variable? If not, how do you _know_ it does what you think it does? If you code like this, you will have to be paranoid with each line you read. That is what makes such code bad, even if it does what it appears to do at first sight.