r/javascript • • Apr 07 '13

Can I just download JavaScript and go?

I have been playing around with python for a while. I want to play with javascript now. Where is a good place to download JS? / Can I just download it like I did with python? I assume I will able to just use my text editor (nopepad ++) to write script? Any suggestions would be great I just can't seem to find something that feels legit and I'm not sure if JS is a free language ...

1 Upvotes

20 comments sorted by

View all comments

13

u/danjo519 Apr 07 '13

Seriously, has no one mentioned Node JS (http://nodejs.org).

This will allow you to write Javascript in a text editor like Notepad++ and then execute it in the console. They have a lot of prebuilt functionality too through the NPM registry (instructions on the Node website).

2

u/Neurotrace Apr 09 '13

I think the lack of Node comments is because I wouldn't dive in to server-side JS without fiddling with client-side JS. I know they're more-or-less the same but why bother setting up a server when you can just fiddle with stuff in the browser to start with?

2

u/danjo519 Apr 09 '13

I've written Node that was not intended to be used as server side code. It has plenty of built-in features that can make it useful as a desktop development language. At work we use the Grunt build task system which is completely written in Javascript/Node.

-1

u/zzzwwwdev Apr 09 '13

Not to say that you're wrong per se, but, the wikipedia article starts:

Node.js is a server-side software system designed for writing scalable Internet applications, notably web servers. Programs are written on the server side...

2

u/mergeset Apr 11 '13

You clearly have no idea what Node is.

0

u/zzzwwwdev Apr 12 '13

Not really sure why you're being a jerk. I actually do have an idea of what Node is. If you notice, the first thing I did was acknowledge that I wasn't trying to say u/danjo519 was wrong.

I was trying to add to the discussion and backup Neurotrace a bit by showing that he's not crazy for associating node with server-side js.

OP is clearly a novice, and would probably be pretty intimidated by Node. Having him just think about it as "Server-Side" stuff for now isn't bad, nor is it totally unwarrented.

Its pretty safe to say r/javascript agrees with me that the path of least resistence for learning JS is not to try to grok Node before playing with JS in the Browser.

-1

u/gngl Apr 12 '13

"I actually do have an idea of what Node is."

...in which case you'd be expected to understand why some people use Node.js as a rather practical script interpreter on their desktop machines, with interfaces to the OS, not actually serving anything to anyone.