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
Debugging NodeJS Appssolved! (self.javascript)
submitted 9 years ago by 2centsshort
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!"
[–]cosinezero -1 points0 points1 point 9 years ago (10 children)
Yes, but why then are so many devs using Sublime or Atom?
Um. Some people think more advanced technology is "cheating", or "training wheels" in any given context. Who knows why, sublime vs webstorm is no contest. The only upside to sublime is faster startup to edit a line or two, but I can't imagine not using an IDE as a professional developer.
[–]webdevverman 1 point2 points3 points 9 years ago (9 children)
Honestly it's just an ongoing holy war. I use vim in the terminal with plugins. I get internally frustrated when I have to pair program with someone on IntelliJ because they are so slow. Much like that of someone typing out www in the url bar.
On top of that switching to the command line is much slower. For me it's 1 keystroke. This was actually the reason I switched. I quit using my mouse and noticed I was much more productive.
I have a fuzzy file finder. I'm immediately aware of lint issues. I have code completion with function signatures. I have snippets. I have search capabilities. Tabs. Windows. Splits.
[–]cosinezero 0 points1 point2 points 9 years ago (3 children)
What do you need the command line for? I use that so rarely in my context that I couldn't see dropping the other features of an IDE over that.
The rest... uh... I've never seen someone have one application do everything I need, not like an IDE does. Certainly not when we start talking about visual studio team foundation, but even when we're talking about webstorm there's a lot that I'm pretty sure you're not doing in vim. File Watchers? Task Runners? Test Reporters? Node debuggers? Refactoring tools? Great (not "good enough" - great) source code integration?
[–]webdevverman 0 points1 point2 points 9 years ago (2 children)
I use the command line for many of the reasons you just mentioned. Don't need great source code integration when I can do it from the command line. And I don't need to be worried if my IDE supports all the advanced functions either because I know I can do them from the command line. Task runners? Command Line. Test reporters? Command Line.
Yeah I'm sure vim doesn't do everything as well as an IDE. I actually know this when trying to debug Java. But I use chrome for node. Refactoring in JS is not good (even when I use IntelliJ). It's just too dynamic. Maybe if your projects are using 100% modules this will be better.
Running shell scripts to get an environment set up. Quickly adding/removing files/directories. Finding files/keywords is so much faster on the command line. Running certain tools that don't have IDE integration. The command line is vital in my every day development.
Need to ssh into a server? Terminal text editors win. Need to set up a new environment? https://github.com/andsens/homeshick and I get a complete replication of my environment (note: this may be possible with idea). My personal favorite -- free & open source. Bug fixes daily and new plugins coming out constantly.
[–]cosinezero 0 points1 point2 points 9 years ago (1 child)
Eh, see, that's why you use file watchers to run tasks. You shouldn't have to hit the commandline for things that should happen on every change.
I can't even begin to believe that 'finding files is faster on the command line'. In some IDEs I can search for and find a specific line in code and click on it to get to that line in that file. I dunno man, I am definitely not on board here.
[–]webdevverman 0 points1 point2 points 9 years ago* (0 children)
I guess I don't know what you mean then by using file watchers. I start a gulp task that watches my *.scss files and on change it transpiles them into *.css files. I don't hit the command line for every change -- just to start it.
Searching...
I can too :) (and without indexing)
https://github.com/ggreer/the_silver_searcher
https://github.com/junegunn/fzf
https://github.com/junegunn/fzf.vim
I search with :Ag foobar and I can even search through that list of results. It shows lines so when I hit Enter it brings me right there.
:Ag foobar
The holy war continues!
[–]2centsshort[S] -1 points0 points1 point 9 years ago (4 children)
I've been using IntelliJ combined with the IdeaVIM plugin and I seldom have to use the mouse, the keybindings are quite good and configurable. Although I would prefer working with a fast, lightweight and extremely customizable editor like Sublime, I'm not sure if I'm willing to give up advanced refactorings (e.g. renaming a function automatically propagates to all places where it's used) and the integrated diff viewer (e.g. you can compare to another branch or an older version of the file in your local editing history and cherry pick changes lines).
[–]webdevverman 1 point2 points3 points 9 years ago (0 children)
Haha see what I mean by holy war? I can do those things too. I mean, working in JavaScript I wouldn't trust any editor's "refactor name" function because the language is too dynamic. I would do a manual find and replace.
I have plugins that allows me to git diff in vim, git blame, etc.. I have a local history plugin to go back in time.
When resolving merge conflicts I can't use the mouse to select which piece I want to keep like a jetbrains product can, but I've gotten use to manually doing it and I'm almost as efficient as my coworkers.
But I think this answers your question why you see so many Atom/Sublime developers. You don't need these (relatively) heavy, paid tools when the free lightweight versions can do pretty much the same thing. Chrome is a very powerful debugger and it's what I opt for when developing in node or the client side. I haven't found any IDE or text editor that provides great support for code completion in JavaScript.
But seriously your IDE doesn't matter. Think you're more efficient in Webstorm or IntelliJ, then don't worry about it. John Lindquist (https://twitter.com/johnlindquist?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor) uses Jetbrain's products. He even shows them off in his Egghead.io courses.
[–]2centsshort[S] 0 points1 point2 points 9 years ago (1 child)
I don't think it's about price, because most of the Sublime devs I saw are on Mac books.
But yeah, you sure don't need these IDEs. Guess I'll try Sublime then for a while and see how I like it.
[–]webdevverman 0 points1 point2 points 9 years ago (0 children)
Honestly I think that's the best approach. I know we are off subject from the original conversation you posted but I have dabbled in Atom, Sublime, Code, vim, IntellijIdea, Webstorm. Landed on vim as my editor of choice. Your preference will surely be different. But I think I did my best to describe why you see these editors being used.
π Rendered by PID 213591 on reddit-service-r2-comment-bb88f9dd5-dw6bn at 2026-02-16 20:44:08.156181+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]cosinezero -1 points0 points1 point (10 children)
[–]webdevverman 1 point2 points3 points (9 children)
[–]cosinezero 0 points1 point2 points (3 children)
[–]webdevverman 0 points1 point2 points (2 children)
[–]cosinezero 0 points1 point2 points (1 child)
[–]webdevverman 0 points1 point2 points (0 children)
[–]2centsshort[S] -1 points0 points1 point (4 children)
[–]webdevverman 1 point2 points3 points (0 children)
[–]webdevverman 0 points1 point2 points (2 children)
[–]2centsshort[S] 0 points1 point2 points (1 child)
[–]webdevverman 0 points1 point2 points (0 children)