PDA

View Full Version : Six ways to write more comprehensible code



WILL
05-06-2007, 10:16 PM
I just found this great little article today and have already put it into the Library, but it'll take some time to be added so I figured that I'd post it here.

http://www.ibm.com/developerworks/linux/library/l-clear-code/?ca=dgr-FClnxw01linuxcodetips

savage
05-06-2007, 10:33 PM
Approved ( and others that I missed )

Robert Kosek
05-06-2007, 10:58 PM
Pretty good article. :D I've been doing something similar in my latest coding endeavors, and I haven't done the "// Now we're done." in forever now. (I always wondered why folks did that.)

tanffn
06-06-2007, 06:44 AM
why write maintainable when you can just as easily write a proper unmaintainable code? :twisted:
http://thc.org/root/phun/unmaintain.html

savage
06-06-2007, 08:45 AM
If the code was hard to write, it should be hard to understand ;).

Robert Kosek
06-06-2007, 12:07 PM
Heh, that's really funny, tanffn. Maybe we should have a Pascal Obfuscation Contest. ;)

However on a serious note, all software and hardware programmers and engineers should watch this video: David Pogue: When it comes to tech, simplicity sells (http://www.ted.com/talks/view/id/7).

WILL
06-06-2007, 01:49 PM
If the code was hard to write, it should be hard to understand ;).

Wasn't that a Linus Torvolds quote? :lol: