spade89![]() Member Posts: 561 From: houston,tx Registered: 11-28-2006 |
incase you c code monkeys don't already know every year there is an international obfuscated c code competition. the whole point of this competition is making the most unreadable obfuscated c code you can,and the amount of obfuscation is startling,who knew c code could be more unreadable than it already is, anyways here is the link to the site: http://www.ioccc.org/ but what caught me by real surprise was a writer accidentaly winning this compettition: http://www.slashnot.com/articles/572/ and i wondered is my code readable to other coders or just me?and i wondered if other programmers have similar problems?so do you think your code is readable ?or it really doesn't matter whether it is readable or not? if readability is important then what makes a code clean and readable? ------------------ |
|
HanClinto![]() Administrator Posts: 1828 From: Indiana Registered: 10-11-2004 |
Spade, you totally almost had me fooled with that "accidental winner" article. ![]() Nice one. --clint |
|
samw3![]() Member Posts: 542 From: Toccoa, GA, USA Registered: 08-15-2006 |
Hilarious! ![]() ![]() s''$/=\2048;while(<> ){G=29;R=142;if((@a=unqT="C*",_)[20]&48){D=89;_=unqb24,qT,@ ------------------ |
|
TwoBrothersSoftware Member Posts: 141 From: Janesville, Wi USA` Registered: 08-05-2006 |
quote:
Although I don't code in Perl so I don't know first hand |
|
samw3![]() Member Posts: 542 From: Toccoa, GA, USA Registered: 08-15-2006 |
Well.. diehard perl coders would say that programming was supposed to be that way. But, believe it or not, I have actually witnessed structured programming in perl..though not frequently. ![]() ------------------ |
|
spade89![]() Member Posts: 561 From: houston,tx Registered: 11-28-2006 |
i just read about this past ioccc winner code i didn't try it but here it is anyways: main(){printf(&unix["\021%six\012\0"],(unix) ["have"]+"fun"-0x60;} and another one i also read but didn't try is suppose to be a trilingual program that compiles in c,c++ and java ![]()
my favorite ioccc winner would be this one: http://www.au.ioccc.org/2004/newbern.orig.c i was going to post it here but the ccn server wouldn't let me i guess the code is too obfuscated. [This message has been edited by spade89 (edited January 07, 2007).] |
|
samw3![]() Member Posts: 542 From: Toccoa, GA, USA Registered: 08-15-2006 |
haha.. cute.. The \u002a\u002f are the unicode form of the characters */ which ends the comment and allows it to compile in java. ------------------ |