Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Namespace and lexical scoping can both solve the long variable name issue. If a language have none like Emacs Lisp or CSS, the issue happens.

For example, when there was no namespace for JavaScript, people can easily simulate modules/namespaces with lexical closures. For a lot (not all of course) of bundling systems, modules/namespaces are just syntactic sugars on top of lexical closure.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: