TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Which Editor to Use?

2 pointsby atakan_gurkanover 4 years ago
Recently a student of mine (college sophomore) asked me which editor I use for code writing. I told him "vi(m)", but also mentioned emacs. When I was learning coding (with linux kernel versions before 1.0) these were the only practical choices, and since I am happy with vim, I never looked around for the upcoming alternatives. But I think some progress might have happened in this field, over these decades (of course vi and emacs have improved, too). So I have two questions: (1) Did you start with either vi or emacs and then switched to another editor, because it worked better (whatever that means) for you, i.e., not imposed by your work environment etc. (2) What would your editor recommendation would be, for someone using GNU/Linux environment, nowadays?

6 comments

qohenover 4 years ago
Microsoft surprised everyone a few years ago with a good, modern cross-platform editor (Windows, Mac and Linux) called VSCode [0]. Its source was open to boot. It&#x27;s GUI-based and looks spiffy It has a large ecosystem of plug-ins for different languages etc. Lots of people use it -- it&#x27;s the #1 tool in Stack Overflow&#x27;s 2019 Developers Survey [1]<p>But VSCode phones home (Microsoft is known to be obsessed with telemetry) and some folks are not happy that the binaries are licensed as freeware [2].<p>A solution to these issues was devised: VSCodium [3], a project that creates downloadable binaries from Microsoft&#x27;s source code that do not have the licensing or telemetry issues that VSCode does.<p>(This is discussed in more detail on the project&#x27;s home page [3]).<p>So, VSCode&#x2F;VSCodium might be worth looking at for your students. Note that, despite being GUI-based, it will still take a bit of time to learn and configure with plug-ins, etc. But it will be easier for most than learning vim or emacs.<p>[0] <a href="https:&#x2F;&#x2F;code.visualstudio.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.visualstudio.com&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Visual_Studio_Code#Reception" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Visual_Studio_Code#Reception</a><p>[2] <a href="https:&#x2F;&#x2F;dev.to&#x2F;twitmyreview&#x2F;issues-with-vscode-license-you-should-worry-1li4" rel="nofollow">https:&#x2F;&#x2F;dev.to&#x2F;twitmyreview&#x2F;issues-with-vscode-license-you-s...</a><p>[3] <a href="https:&#x2F;&#x2F;vscodium.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vscodium.com&#x2F;</a>
hansvmover 4 years ago
(1) I started with a hodgepodge of editors and IDEs, all of which were more hassle than they were worth. When I discovered vim that became my dominant editor for almost everything.<p>(2) For students I never hesitate to recommend a notebook environment if there&#x27;s one suitable for the language at hand (e.g. jupyter for python and a few others). Beginners seem to get a handle on things better that way, and it&#x27;s not hard for them to also learn an editor later if they develop far enough to need it.
kamaitachiover 4 years ago
Different tools for different jobs.<p>If I’m doing a lot of script editing (and maybe even Python), I use vi&#x2F;vim.<p>If I’m writing C&#x2F;C++, I use VS Code. Just add an extension and it works out if the box.<p>Previously, I used Eclipse for Java and Visual Studio for C# on Windows.<p>Sure, emacs could probably do all of the above, but anytime I try it, I give up. But anytime I see work colleagues using it, I look on in wonder and amazement, and a small bit of jealousy.
alwillisover 4 years ago
I started with various editors on macOS like BBEdit and all the rest.<p>I got into Vim about 7-8 years ago and haven&#x27;t looked back. I was getting tired of running into limitations with other editors; with Vim, I keep learning new things as I need to.<p>Lately it&#x27;s been macros for repetitive tasks and regular expressions for making sweeping edits.
clartaqover 4 years ago
On GNU&#x2F;Linux go with emacs. On macOS maybe BBEdit. On Windows use Sublime Text.
chovyfuover 4 years ago
codium