r/eli5_programming • • Apr 15 '19

What is NodeJS

12 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/drumskirun Apr 15 '19

Sure thing! Also worth noting, if you're looking to learn JavaScript, is that because running it in Node is so much different than running it in the browser that you're going to be very confused and frustrated if you watch/read a lot of JavaScript tutorials that use Node and then try and go write a program yourself the same way in the browser, or vice versa.

Think of a Venn diagram with two overlapping circles as Node and the browser. In the overlapping middle is JavaScript, the language. Then on either side are going to be Node and web APIs that you necessarily use in those programs, but are incompatible with each other and will cause a lot of headaches if you try and use them in the wrong context.

1

u/LebaneseLurker Apr 15 '19

As someone who has a bit in knowledge in what you're saying this makes perfect sense! Thanks for the heads up and advice :D