Tag Archives: functional languages

JavaScript elegant namespace declaration

Emulating multilevel namespaces behavior in JavaScript shouldn’t be so complicated. We all know that namespacing in JavaScript is done by nesting objects. But for each nested object we have to check if it already exist so we wont overwrite it with the new object. This can happen if you write a lot of code and […]