On 20100414_123342, Ron Johnson wrote: > On 2010-04-14 09:31, Paul E Condon wrote: > [snip] > > > >non-obvious --- to the point that there was an open contest with > >prizes awarded for the most obfuscated example of C code. The prizes > >went to the code for which the judges were most surprised on seeing > >it run after they read the code and tried to figure out what would > >happen when it was run. > > http://www1.us.ioccc.org/main.html I guess they got bored looking at > normal production C code... > > There was also an Obfuscated Perl Contest, but that only ran for 5 > years due to the "Perl" and "obfuscation" being redundant. > > >But the union construct is now there in the language in order to allow > >the professional practitioner to make his code slightly less > > Unions have been in C for at least 20 years; probably since the Early > Days.
I checked. Union is described in the Ritchie, Johnson, Lesk, and Kernighan, The C Programming Language, in Bell System Technical Journal of JULY-AUGUST 1978, p. 1991. At that time the Bell System had C compilers running on PDP-11, Honeywell 6000, IBM System/370, and Interdata 8/32. You're right. >20years. -- Paul E Condon pecon...@mesanetworks.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100414205849.gc22...@big.lan.gnu