8 Feb
2013

Writing Fast, Memory-Efficient JavaScript

Category:UncategorizedTag: :

Earlier this week, I read this great article titled ?Writing Fast, Memory-Efficient JavaScript? by Addy Osmani. This is a highly recommended read for anyone involved in writing JavaScript code.

The topics that I found to be particularly interesting were the apparent fact that it?s better to avoid the delete keyword and cached functions in the module pattern. The major down-side that I see when using cached functions is that you can?t have any private variables within your module. But this is highly interesting stuff, nonetheless.