4 ms·
It's Emacs for Javascript people - a good thing since Emacs is moribund and most programmers are at least a little bit Javascript people. A highly programmable
by pvg 6y ago
It's Emacs for Javascript people - a good thing since Emacs is moribund and most programmers are at least a little bit Javascript people. A highly programmable, cross-platform editor with zillions of extensions/modes that support all sorts of languages and environments. People complain about its resource requirements and performance, just like they did with Emacs. Vi(m) users are the natural enemy of VSCode, just like they were the natural enemy of Emacs, continuing their long proud tradition of being wrong about everything. I think that's roughly where it fits 'philosophically'.
- Cyph0n 6y ago> continuing their long proud tradition of being wrong about everything. Why do you think that Vim users were/are wrong about everything?
- pvg 6y agoI don't! That's just a dumb joke. A thing that I semi-seriously think: modal editing is not some uniquely interesting or advantageous way to navigate and edit text. A thing that I mostly-seriously think: most more recent methods for editing and navigating code are a lot better vim-style modal text editing.
- szemet 6y agoThe only thing what makes modal editing bearable (from UX PoV) is the unlimited undo. e.g. Would anyone take a plane that has modal cockpit buttons?
- Cyph0n 6y agoWhat does flying a plane have to do with editing and navigating code?
- szemet 6y agoIt happens me every day: I just start to type while still in command mode, and then have to press "u" a couple of times. (But ok, thats maybe just me - thought this is a common experience, and I just wouldn't like to sit behind a pilot doing the same...)
- pvg 6y agoThis sort of thing has been a factor in airplane accidents - pilots becoming confused about stuff like the automation regime they're in.
- chongli 6y agoThis problem can be mitigated to an extent with a vim setting to change the cursor from a block to a vertical line when you enter insert mode. After using it for a bit your brain will learn to look for the vertical line before typing.
- xenomachina 6y agoAll editors are modal, just to different extents. In Notepad, if you type a letter it inserts it, unless you have some text highlighted, in which case it replaces that text. "Some text is selected" is a mode. The big thing that classic vi got wrong with modes from a usability perspective is that changing modes is mostly invisible. In vim, however, you can configure it to change the cursor shape in different modes, and this is a pretty effective cue. (It's also the default behavior in gvim.)
- webgoat 6y agoI expected it was because of the vim crowd's belief that a small footprint is essential for some reason. I use evil mode in emacs and can't understand why vim people place arbitrary limits on themselves when emacs is a more full IDE experience that costs them very little to jump to.
- Cyph0n 6y agoI use a remote machine at work for all development. With tmux + Vim, I get persistent editor sessions with native performance. The alternative used to be writing code over VNC (not fun!), but we’re now moving towards VS Code Remote. I don’t see myself changing to it anytime soon, though.
- Cyph0n 6y agoModal editing is very efficient imo. Once you get used to it, there is no going back. Plus, in my experience, it’s much easier on the wrists in general. But I think Vim bindings in an IDE or Vim with a LSP plugin is the killer combo.
- yjftsjthsd-h 6y agoI'm going to partially disagree. > It's Emacs for Javascript people I'll accept this premise. > a good thing since Emacs is moribund And here we part ways. > and most programmers are at least a little bit Javascript people. You might be living in a bubble. > A highly programmable, cross-platform editor with zillions of extensions/modes that support all sorts of languages and environments. Agreed; I think you're actually underselling how helpful it is that it's apparently a lot easier to get started with than emacs or the vi family. Power tools with a lower learning curve is a good thing. > People complain about its resource requirements and performance, just like they did with Emacs. And they're right to do so, especially with Moore's law wearing thin. Besides which, emacs (and n/vim, for that matter) are still around, and are just as functional in a much smaller resource footprint. > Vi(m) users are the natural enemy of VSCode, just like they were the natural enemy of Emacs, continuing their long proud tradition of being wrong about everything. LOL, that's... semi-fair, even if you're on the wrong side, of course;) > I think that's roughly where it fits 'philosophically'. I think it's fair to call VSCode "EMACS but with JS", but I think you're really glossing over the issues that it has in practice; maybe with a decade of maturation it'll be on par, but today I would argue that it is a resource hog, and still suffers from some poor design choices (such as letting extensions trample eachother, per the upthread discussion).
- pvg 6y agoYou might be living in a bubble. I think the relative sizes of the 'Most programmers have at least some minimal familiarity with Javascript' bubble and the 'Emacs is not moribund' bubble speak for themselves and offer sufficient retort :)
- bitwize 6y agoIt's not really. The difference between VSCode and Emacs is the difference between an extensible editor and a software omnitool intended to be extended, shaped, and refined as you work with it. Writing short programs in Emacs Lisp, seeing their effects immediately in the live editor environment, and then (should they prove generally useful) refining them into full-fledged modes or commands is quite a bit different than writing a packaged extension. There is, still, nothing like Emacs in the editor world today. As much as Visual Studio Code gets right, it has a long way to go to get within spitting distance of Emacs in terms of adaptability and power (to say nothing of resource consumption).
- thunderbong 6y agoThis shows the stance of the people in the different "editor groups" perfectly! I'll never understand why programmers get so attached to their tools that they start evangelizing it for everyone else. Just look at the other responses to this comment. People are either questioning each bit or are trying to defend them. If it work for you good, if not, fine. Just don't get crazy about it. It's just an editor!!
- pvg 6y agoA big, fun part of any hobby or craft that involves tools is kvetching about the tools. It's often at least as fun as the practice of the hobby or craft itself.