Javascript clarity of purpose

Posted by JesDaw on Stack Overflow See other posts from Stack Overflow or by JesDaw
Published on 2008-11-11T21:25:57Z Indexed on 2010/04/04 5:33 UTC
Read the original article Hit count: 242

Javascript usage has gotten remarkably more sophisticated and powerful in the past five years. One aspect of this sort of functional programming I struggle with, esp with Javascript’s peculiarities, is how to make clear either through comments or code just what is happening. Often this sort of code takes a while to decipher, even if you understand the prototypal, first-class functional Javascript way. Any thoughts or techniques for making perfectly clear what your code does and how in Javascript?

I've asked this question elsewhere, but haven't gotten much response.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about coding-style