-3

Strictly speaking what is the OBJECT PROGRAMMING part of node.js ? is it :

  • express.js

  • Javascript

  • node.js itself

  • some programming component ?

In theory how can we best define the object programming part of node.js ?

3
  • 1
    Look here: stackoverflow.com/a/6339819/334813 Commented May 6, 2015 at 16:54
  • This is a broad, subjective question. 'Strictly speaking' suggests you're working with a formal definition (or someone's idea of one). Is this an exam question? Commented May 6, 2015 at 16:56
  • 1
    Node is just a JavaScript implementation. Express is a framework. The question basically answers itself, no? Commented May 6, 2015 at 17:03

1 Answer 1

2

Is this your question or someone else's? It sounds like the wrong question.

Node.js is just another implementation (runtime environment) of JavaScript that you can run outside of the browser.

JavaScript itself is an object-oriented programming language

When you're writing JavaScript that gets executed using the node process, I suppose the "objects" would be the objects you've defined and used in your code.

  • Express.js is just a program written in JavaScript. I certainly would not call that an "object" in any sort of programming context.

  • JavaScript is a language; not an object.

  • Node.js is an implementation of JavaScript, meaning it can interpret/execute a JavaScript file. Node.js is not an object.

  • "Some component" is also probably not an object in the way you're understanding.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.