Seven JavaScript Techniques You Should Be Using Today

This article I found in Digital Web Magazine and gives extensive idea of how everyone should use JavaScript nowadays. Here is a summary of the best practices which are described there:

– Branch when possible
– Make Flags
– Make bridges
– Try Event Delegation
– Include methods with your getElementsByWhatever
– Encapsulate your code
– Reinvent the wheel

view original


Leave a Reply

Your email address will not be published. Required fields are marked *