| | NQC Programmers do it on one line
|
|
There is a tradition among C programmers to write very tight code i.e. as short a program as possible. Does such a culture exist with NQC programmers? See for instance: (URL) the most useful robot you've programmed using as few lines as possible and (...) (19 years ago, 24-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) writing things in as few lines as possible (although there is a pretty tight limit on the maximum size of entries). The objective of the contest is to write the most difficult to read and/or understand program possible. The limit on the size (...) (19 years ago, 24-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) The IOCCC (International Obfuscated C Code Competition) isn't about writing things in as few lines as possible (although there is a pretty tight limit on the maximum size of entries). (...) The objective of the contest is to write the most (...) (19 years ago, 24-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) And obfuscated code is not limited to C - the Perl community has a culture of enjoying obfuscated code, see: (URL) 1-liners, when I had my Apple ][+ in the early 80s, there was a magazine called "Nibble" which ran 1 and 2 liner contests using (...) (19 years ago, 24-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) Well, for $90 you can get it back by buying 12 years worth of Nibble on CD-ROM: (URL) you can remember which year it was published in, you can buy one year's worth for $10. (19 years ago, 24-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) I always thought the best way to do this would be to write a program to do it for you. This way the computer could redefine every function and operator and make the program absolutely unreadable. You could even enter your obfuscation program (...) (19 years ago, 24-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) They run it through several "beautifying" programs, which eliminate all #define obfuscations. (19 years ago, 25-Nov-05, to lugnet.robotics)
|
|
| | Re: NQC Programmers do it on one line
|
|
(...) Yeah - simple bad naming of variables and weird indentation is nowhere *near* the degree of weirdness these guys get up to. I don't think you could automate the kinds of creative obfuscation you need to get your code into the winner's circle (...) (19 years ago, 25-Nov-05, to lugnet.robotics)
|
|
| | mindrover RCX pack
|
|
anyone familiar with this program? (URL) an add-on to Cognitoy's Mindrover simulation game, which apparently allows you to simulate some Lego 'bots, then run the code for real. If anyone has used this tool or has any relevant feedback, please reply. (...) (19 years ago, 25-Nov-05, to lugnet.robotics)
|