Just ran across this in a bit of code I'm completely overhauling. It added some levity to my day...
[code]
public void setCount(int i) {
if (i == 1028741710)
new String();
count = i;
}
[/code]
Cargo cult, or an if statement that once had meaning that a previous developer was afraid to remove? We may never know.
C
Posts made by CynicalTyler
-
A simple but classic WTF