Wednesday, April 18, 2007

How Windows Vista was coded

/**
* (c) 2007 Micro$oft Corp.
* All rights reserved :-w
*/

#include
"osx_tiger_features.h";

class WindowsVista extends WindowsXP implement Nothing {

boolean beta = true;
WindowsVista() {
checkIfHardwareIsCompatible();

/*
* OK. The idiot seems to have
* some high end hardware.
* Let make his life miserable >:)
*/
runInternetExplorer7();
}

void checkIfHardwareIsCompatible() {
/*
* Lets make sure that half the world
* cannot run this OS while
* we fix all the bugs
*/
if ((installedRam < 2GB) || (processorSpeed < 4GHz)) {
MessageBox("Your system does not seem
to be capable of running zero err.. aero glass
and the like. Please upgrade
the hardware and try again.");

WaitTillPoorGuyReadsTheMessage();
bsod();
}
}

void runInternetExplorer7() {
IE7 ie7 = new IE6();
ie7.featureSet = firefox_features
+ safari_features
+ opeara_features
+ lot_of_bugs;

ie7.run();
WaitWileThePoorGuyLooksAtTheNewInterface();
bsod();
}
}

//thanks mr. tom for sharing this :p

2 comments:

RootBeer said...

compile errors:
- Java does not support #include, use import instead
- implements, not implement
- IE6, IE7, 2GB, 4GB: types or constants not found
- ...

So many mistakes =))

Hung Pham said...

Tan, you're right, but if we fix your bugs, then the brief and funny script will be very big and useless, like currently Windows Vista.