OOP Dot Notation, is Object Data or Namespace?

By Xah Lee. Date: . Last updated: .

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 true for about all node.js objects. See: ⬢ Node.js v0.11.10-pre Documentation

Unix Pipe, Dot Notation, Postfix Notation

  1. OOP Dot Notation, Dot Before Data or After?
  2. OOP Dot Notation, is Object Data or Namespace?
  3. Unix Pipe as Functional Language
  4. Method Chaining, Postfix Operator, and OOP
  5. JavaScript Language Design: Dot Notation be Namespace or Object System
  6. Ontology of Postfix Notation, Method Chaining, and Unix Pipe
  7. Piping and Function Composition Equivalence

If you have a question, put $5 at patreon and message me.