Just Think - software

RSS Feed URL: http://www.justthink.it/feed/index.xml
Category: Computers | Total Views: 72

Latest entries from this feed

Javascript module pattern with constructor with arguments

Posted on 2 February 2018 | 3:30 pm by francesco

As Douglas Crockford wrote on Javascript: the good parts, a module is a function or object that presents an interface but hides its state and implementation. I used indeed the module pattern once I needed encapsulation, i.e. to have a class method that had a public interface but that hid implementation details. In addition to encapsulation I … Continue reading "Javascript module pattern with constructor with arguments"

The post Javascript module pattern with constructor with arguments appeared first on Just Think.



Related products