The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Rock On! For everlasting peace...

Last post 01-09-2008 10:46 AM by ekolis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-09-2008 10:46 AM

    Rock On! For everlasting peace...

    So I was writing some code related to "mandatory" data, and I had chosen the suffix "Man" to represent variables containing statistics for "mandatory" data. So I ended up with fun variable names like "conMan" (confident mandatory) and "legMan" (legible mandatory)... well, at the same time I was listening to some music from Megaman X... I think you can see where this is going ;)

    // cutMan.Vulnerability = gutsMan.Weapon;
    // gutsMan.Vulnerability = bombMan.Weapon;
    // bombMan.Vulnerability = fireMan.Weapon;
    // fireMan.Vulnerability = iceMan.Weapon;
    // iceMan.Vulnerability = elecMan.Weapon;
    // elecMan.Vulnerability = cutMan.Weapon;
    // // TODO - implement fighting methods
    // megaMan.Weapons = new Weapon[]{megaBuster, gutsMan.Weapon, bombMan.Weapon, fireMan.Weapon, iceMan.Weapon, elecMan.Weapon, cutMan.Weapon};
    // megaMan.Vulnerability = spikes;
    // drWily.Weapon = spikes;
    // drWily.Attack(megaMan);
    // megaMan.Dispose();

    I was SO tempted to check in that code ;)

Page 1 of 1 (1 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems