Ha ha, listing the IOCCC as good code. I hope you meant to list that as bad code -- as that is the purpose of the whole competition. I love this junk. Some of the coolest code in their collection can take weeks to decipher. The IOCCC is the perfect example of how not to code in C.
I would compete but it is harder to write code that bad, than it is to write good readable code. As for the others, I haven't checked them out; maybe you meant for all of them to represent poor code... beats me, and frankly it doesn't really matter.
BTW: Here is one of my favorite one liners: main(){printf(&unix["\021%six\012\0"],(un ix)["have "]+"fun"-0x60);}
For all of you that haven't seen it before. Try and guess what it does before you run it. You will forever miss an epiphany. Trust me on this... I had a friend who ruined it for himself and two years later he still regrets it. Give yourself at least a week before you enter it.
All of you fledgling coders should check this site out. Learn from the masters of misdirection, learn how to earn your job security;-). You can learn more from one example of how NOT to code, that a thousand examples of how to.
*Note: David Korn wrote the code above... yes! That David Korn.
I would compete but it is harder to write code that bad, than it is to write good readable code. As for the others, I haven't checked them out; maybe you meant for all of them to represent poor code... beats me, and frankly it doesn't really matter.
BTW: Here is one of my favorite one liners:n ix)["have "]+"fun"-0x60);}
main(){printf(&unix["\021%six\012\0"],(u
For all of you that haven't seen it before. Try and guess what it does before you run it. You will forever miss an epiphany. Trust me on this... I had a friend who ruined it for himself and two years later he still regrets it. Give yourself at least a week before you enter it.
All of you fledgling coders should check this site out. Learn from the masters of misdirection, learn how to earn your job security ;-). You can learn more from one example of how NOT to code, that a thousand examples of how to.
*Note: David Korn wrote the code above... yes! That David Korn.
---
"Do not meddle in the affairs of sysadmins,