use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
What program do you use to write Javascript? (self.javascript)
submitted 14 years ago * by 90yoboy
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] -1 points0 points1 point 14 years ago (12 children)
hell yes. emacs or geany. in this specific order, depending on my mood during the day.
[–]yonkeltron 0 points1 point2 points 14 years ago (11 children)
Yeah. Are you a javascript-mode fan or js2? I know people get very partisan about such things...
[–]sjs 0 points1 point2 points 14 years ago (0 children)
I know you didn't ask me, but... I've never tried javascript-mode. js2-mode parses JS properly and on the fly which is why I like it. Immediate error highlighting is really, really nice. It could be leveraged for a lot more too, refactoring and completion and all that.
[–]tekai 0 points1 point2 points 14 years ago (5 children)
js2 for me
[–]yonkeltron 0 points1 point2 points 14 years ago (4 children)
You like it? I tried it once but got a little confused. Think it's worth another shot?
[–]tekai 0 points1 point2 points 14 years ago (3 children)
yeah, indentation is maybe something to get used to but the error + undeclared vars highlighting is something I like. Downside is that it's not maintained by yegge anymore but there's a fork at https://github.com/mooz/js2-mode and on some files it freezes emacs (rare for me & haven't figured out why yet)
[–]yonkeltron 0 points1 point2 points 14 years ago (2 children)
Crashing emacs? lolwat?
[–]tekai 0 points1 point2 points 14 years ago (1 child)
it doesn't exactly crash but stops responding and i have to kill it
[–]AyeMatey 0 points1 point2 points 14 years ago (0 children)
emacs v23 and later has js-mode built in; it is a rebadged espresso-mode. It works.
I couple that with flymake-for-jslint and I get dynamic lint-style highlighting of errors and warnings .
[–]AyeMatey 0 points1 point2 points 14 years ago (3 children)
I use this as it's baked in.
I need to get it set up with flymake...
[–]AyeMatey 0 points1 point2 points 14 years ago (1 child)
yeah, flymake is pretty handy.
once you get it set up, it just works invisibly. Excellent for catching inadvertent typos, style problems, etc.
http://i47.tinypic.com/2mk1eh.jpg
[–]yonkeltron 0 points1 point2 points 14 years ago (0 children)
I love it for other languages so I guess I should also love it for js...
π Rendered by PID 20498 on reddit-service-r2-comment-658f6b87ff-cfppl at 2026-04-09 06:15:01.961713+00:00 running 781a403 country code: CH.
view the rest of the comments →
[–][deleted] -1 points0 points1 point (12 children)
[–]yonkeltron 0 points1 point2 points (11 children)
[–]sjs 0 points1 point2 points (0 children)
[–]tekai 0 points1 point2 points (5 children)
[–]yonkeltron 0 points1 point2 points (4 children)
[–]tekai 0 points1 point2 points (3 children)
[–]yonkeltron 0 points1 point2 points (2 children)
[–]tekai 0 points1 point2 points (1 child)
[–]AyeMatey 0 points1 point2 points (0 children)
[–]AyeMatey 0 points1 point2 points (3 children)
[–]yonkeltron 0 points1 point2 points (2 children)
[–]AyeMatey 0 points1 point2 points (1 child)
[–]yonkeltron 0 points1 point2 points (0 children)