June 2007 - Posts

Code Readability / Maintainability

Which is better?

To show people that you can pack codes into a really really small space (i.e. a line) or spread them out and actually make it readable by others?

I prefer the second approach since I know sooner or later when I'll be looking back at my cool one liner code, I'll have to think what the heck is going on in it instead of just being able to read the code easily.  I really think we should strive for code readability / maintainability since it's more useful in the long run, especially when the one who is going to maintain them might not be as "smart" as ourself.
 

Just food for thought.

Share this post: | | | |
Posted by Jimmy Chandra | 7 comment(s)
Filed under: ,

ECMAScript 4 Draft

It looks like the new JavaScript / ECMAScript is getting a lot of upgrade.  Can't say it's not OO anymore, hehe.  Just when you think you know it, they change it on you :).

Take a look at the spec it here.


Powered by ScribeFire.

Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: