Thread: Why I hate c
View Single Post
  #51   Spotlight this post!  
Unread 18-03-2004, 16:51
meatmanek meatmanek is offline
Programmer/physicist/mathematician
FRC #0868 (TechHounds)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Carmel, Indiana
Posts: 142
meatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to behold
Re: Why I hate c

Cryptic code can be acceptable if:

1. You are the only person who will ever look at the code, and you are used to seeing this kind of cryptic code.
2. You know the people looking at your code (teammates, coworkers, etc) can understand it.
3. You need process and memory-optimized code, because you are working on a system with a relatively slow processor and relatively small memory (The RC, for example).

Remember, though, you should _ALWAYS_ comment your code, especially if it is cryptic. What if your grandmother (who I'm assuming doesn't know C) wanted to read and understand your code?