|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Why I hate c
If you really want to see some obfuscated C code, there's actually a contest for it. http://www.ioccc.org/ - The International Obfuscated C Code Contest.
Winning entries can be found at http://www1.us.ioccc.org/years.html If you want a language that is very easy to program in and makes sense, check out Ruby at http://www.ruby-lang.org For example, to run a command 3 times in C, you would do this: for (int i=3; i<=0; i--) { command(); } In Ruby, it would look something like this: 3.times { command } Ruby is also loosely-typed, meaning you don't have to worry about the size of the variable that's holding your data, the interpreter will determine that for you. Note that you can't use Ruby on the robot, this is just for hobbyist programmers. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I Hate It When... | sanddrag | Chit-Chat | 77 | 25-12-2003 10:57 |
| I hate the BCS and i really ha te KANSAS ST. | Jon Reese | Chit-Chat | 10 | 11-12-2003 12:09 |
| GRRr.... I hate webpages... | XRaVeNX | Chit-Chat | 4 | 15-03-2002 12:28 |
| Why I hate Logic | EnderofDragon | Chit-Chat | 2 | 19-02-2002 21:02 |