Re:Creating a Virtual Printer Using Node.js [video]
by monk_e_boy on Tuesday December 22, 2015 @06:00PM
(#10780949)
Classes and modules in almost any other modern language are much easier to read and write. Ruby, python, heck even php are better than JS. That's my real issue with JS. If we had a browser that had lots of languages baked into it, none of use would choose to use JS ;) node.js would never have been invented...
What you're looking at is a relatively poor example. In es6, that could be ...
without all the cruft around it, also the module itself could be cleaner. Similar to: