751
Goko Dominion Online / Re: MAKiNG MORE FUN: Patch for Dominion Online 2.0 (Windows)
« on: October 13, 2015, 08:56:07 pm »I don't want to sidetrack this thread too much; but to respond to Donald's code-related stuff; while perhaps not the "norm" in our twisted world, it's also far from the worst thing I've see in code that I've inherited from other companies to maintain. My favorite example of silliness is this bit from some old VB6 code that I had to work wtih (though written here as c# for my own sanity):Code: [Select]for (int x = 1; x <=5; x++)
{
switch (x)
{
case 1:
[Do some stuff];
break;
case 2:
[Do some stuff];
break;
case 3:
[Do some stuff];
break;
case 4:
[Do some stuff];
break;
case 5:
[Do some stuff];
break;
}
}
This is amazing.