Wednesday, July 25, 2007

6 Ways to Writting Comprehensible Code

IBM has a nice little posting that gives a few simple tips to write more comprehensible code. If you're not entirely sure what I'm talking about then perform a simple test write a routine that does a few math operations on a value. Better yet, implement the operation using shift operators (just because) then have someone else (a coder, your grand mother probably won't work in this case) look at the code and have them explain to you what the routine does. If they can't figure out your code in like 5 minutes. Then you REALLY should follow these tips otherwise you should check out the follow. Check out the post here.

No comments: