Vlad Petersen (vladimip@uniserve.com)
Mon, 01 Feb 1999 22:01:31 -0800
Vazquez's Box wrote with possible deletions:
[.........]
> Article 1074 of rec.humor.funny:
[..]
> Newsgroups: rec.humor.funny
> Subject: malicious #defines
> Keywords: computer, original, funny
> Message-ID: [S37b.5047@looking.on.ca]
> Date: 25 Jan 92 00:30:07 GMT
[.......]
> Do you have a smug bastard of a programmer in your office
> whose code always seems to work with a minimum of debugging?
> If so, then heres a few #defines to keep them busy.
>
> #define main Main /* Now try to link this! */
> #define stdout stderr /* No problems, until you pipe it */
> #define while(x) if(x)
> #define struct union /* Great space saver */
That's hilarious. Well, not to hilarious when you see stuff like that in
serios code. The other day I got DirectX6 and forcefeedback SDK from
MSDN installed to take a look at its API. I found some funny #defines
with usage of _ and __ in symbols in the headers and lots other strange
things. I guess it's a totally different coding culture among Win32
developers.
Vlad
(you know, as soon as I started setting up reply-to: vanlug@ in my
headers, double deliveres decreased to 0)
--
Vlad Petersen | <vladimip at uniserve dot com>
#include <disclaimer.h> | *Good pings come in small packets*
Vancouver, BC | Windows: for IQs smaller than 95
SIGSIG -- signature too long (core dumped)
This archive was generated by hypermail 2.0b3 on Tue 02 Feb 1999 - 07:43:00 PST