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 [...]