Microsoft Windows reveals stupidity...
February 2, 2009There were many references to idiots and morons, some external but mostly at Microsoft. For example:
- In the file private\ntos\rtl\heap.c, which dates from 1989:
// The specific idiot in this case is Office95, which likes
// to free a random pointer when you start Word95 from a desktop
// shortcut. - In the file private\ntos\w32\ntuser\kernel\swp.c from
11-Jul-1991:
// for idiots like MS-Access 2.0 who SetWindowPos( SWP_BOZO )
// and blow away themselves on the shell, then lets
// just ignore their plea to be removed from the tray. - Morons are also to be found in the file
private\genx\shell\inc\prsht.w:
// We are such morons. Wiz97 underwent a redesign between IE4 and IE5 - And in private\shell\shdoc401\unicpp\desktop.cpp:
// We are morons. We changed the IDeskTray interface between IE4 - In private\shell\browseui\itbar.cpp:
// should be fixed in the apps themselves. Morons! - As well in private\shell\ext\ftp\ftpdrop.cpp:
We have to do this only because Exchange is a moron.
Microsoft programmers also take their duty to warn their fellow developers seriously against unsavory practices, which are apparently committed on a regular basis. There are over 4,000 references to "hacks". These include:
- In the file private\inet\mshtml\src\core\cdbase\baseprop.cxx:
// HACK! HACK! HACK! (MohanB) In order to fix #64710
// at this very late date - In private\inet\mshtml\src\core\cdutil\genutil.cxx:
// HACK HACK HACK. REMOVE THIS ONCE MARLETT IS AROUND - In private\inet\mshtml\src\site\layout\flowlyt.cxx:
// God, I hate this hack ... - In private\inet\wininet\urlcache\cachecfg.cxx:
// Dumb hack for back compatibility. *sigh* - In private\ispu\pkitrust\trustui\acuictl.cpp:
// ACHTUNG! HACK ON TOP OF HACK ALERT:
// Believe it or not there is no way to get current height - In private\ntos\udfs\devctrl.c:
// Add to the hack-o-rama to fix formats. - In private\shell\shdoc401\unicpp\sendto.cpp:
// Mondo hackitude-o-rama. - In private\ntos\w32\ntcon\server\link.c:
// HUGE, HUGE hack-o-rama to get NTSD started on this process! - In private\ntos\w32\ntuser\client\dlgmgr.c:
// HACK OF DEATH!! - In private\shell\lib\util.cpp:
// TERRIBLE HORRIBLE NO GOOD VERY BAD HACK - In private\ntos\w32\ntuser\client\nt6\user.h:
// The magnitude of this hack compares favorably with that
// of the national debt.
The most worrying aspect here is not just how these bad practices persist and even find their ways into release builds in large numbers. After all, few things are as permanent as a "temporary" solution. Nor is it surprising how much ancient code still exists in the most recent versions of Windows (although it is somewhat unsettling to see how decades-old mistakes continue to be a problem). No, the most frightening thing is that Microsoft's developers obviously know they are doing terrible things that serious undermine the quality of the end product, but are apparently unable to remedy the known bad quality of their own code.
As you may remember, Windows XP was already out by the time that the above source code got leaked. In fact, back in 2004, Microsoft had been talking about Longhorn (Windows Vista) for three years. Just a few months after the source code leaked out, it was announced that WinFS, touted as Microsoft's flagship Relational File System Of The Future, would not ship with Vista after all. The reason isn't hard to guess: Windows' program code has become increasingly unmaintainable and irrepairable over the years.
more at : http://www.vanwensveen.nl/rants/microsoft/IhateMS_2.html
Posted by Cerebrux. Posted In : News - Micro$0ft