This entry is part 2 of 2 in the series FuglyCode of the Week

This week’s fugly code comes from my past experiences as a C developer, and is actually one of the first pieces of advice my Team Lead gave me when I joined his group.
You see, I was working on this function that returned a value based on a few incoming parameters, and the lead admitted he [...]