2013-12-24

Object Oriented Programing Mutation: “object” Is No Longer Data, But Namespace

just made a new discovery about the OOP fiasco.

in node.js, the “object” is no longer a data, rather, it's more used as a namespace. For example,

var pp = require('path');
pp.extname('xyz.html')        // ⇒ .html

this is actually fantastic. Screw the OOP.