What common programming problems are best solved by using prototypes and closures?
- by vemv
As much as I understand both concepts, I can't see how can I take advantage of JavaScript's closures and prototypes aside from using them for creating instantiable and/or encapsulated class-like blocks (which seems more of a workaround than an asset to me)
Other JS features such as functions-as-values or logical evaluation of non-booleans are much…