Hacker News new | ask | show | jobs
by badloginagain 4048 days ago
I dont know much about Atom. How does it compare to Sublime Text/Notepad++? I've recently switched to Sublime Text, but currently not beholden to anything.

How does it compare to an IDE, like Eclipse or Visual Studio (being the two I've used)? Is Atom an orange and an IDE an apple?

6 comments

It's very much akin to ST3. Atom is significantly better and much more useable than when it was first released. I now use it as my main editor. I'm happy to support an open-source, community driven text editor of this quality.
I've used Sublime for a number of years now and have recently (over the past few weeks) been making a concerted effort to use Atom as my daily driver (mostly because I appreciate the open source nature of it and am familiar with Node). My experience thus far has been good. I use a Windows machine and half a year ago Atom was practically unusable; it's come a long way since and now I'm comfortable using it as my main editor.

I do notice the occasional performance hiccup -- I'll try jumping through settings and the application will hang for 20-30 seconds. I would say this happens probably 1-2 times per day. Other than that I don't really have any complaints. The package/theme community is vibrant and updates/improvements arrive frequently. Sublime is still a more stable and capable application, but given Atom isn't even at a 1.0 release I think that's acceptable. I think it's only a matter of time before Atom overtakes Sublime in terms of stability and performance -- the current velocity of V8, Node and Electron have it well on its way.

Like Sublime Text, it's somewhere between an IDE and a text editor. For example, both Sublime Text and Atom have a TypeScript plugin that uses the TypeScript language service to highlight compilation errors as you type, and to provide semantically-correct autocomplete suggestions. These are features typically expected in an IDE.

However, neither integrates with a debugger like a traditional IDE. You'll likely drop to a terminal or external tools to run / test / debug your program. (I'm sure they both have a plugin to make terminal commands a keyboard shortcut away, though.)

Hope that helps. It's a fantastic editor, although it can be a bit RAM heavy on my aging MacBook Air.

At this point I don't think I'm going to make the switch from Sublime Text and Atom. It feels like Atom is preparing the groundwork for market domination by creating an open-source framework that people use, love, and actively develop for.

But right now, it seems like its basically on par with ST, just with higher growth potential. That's not worth the switch for me at this current point in time.

It's a Sublime competitor. Not an IDE. I'll just speak for myself doing Scala development:

It in no way replaces IntelliJ. Atom doesn't host SBT. It won't compile in the background, it doesn't parse your code and build an AST. It doesn't execute tests, etc etc.

With that out of the way, it seems like a really nice text editor with the really bad UX of shoving most commands into a "command palette" (which seems somewhat popular these days, for reasons I don't understand) instead of just giving you shortcuts to the common ones.

In practice this means I'm typing CMD+SHIFT+P to open the palette, type "grammar" to open the language switcher, and type "scala" and enter to select the language. Every time I create a new file. It's passionately lame. Also, "grammar"? As opposed to using the muscle memory everyone whose used a text editor any time in the past two decades has developed for "syntax"? What jerk thought that up?

But maybe I'm just missing something.

Also, because it's a cross platform node.js thing, nothing is native and all configuration is done in JSON ala Sublime. If this was a Windows application they'd be making you set all your preferences, even changing font size, through an .INI file.

Of course there aren't a lot of native apps that do a whole lot better IME. Textastic is great, but it's syntax parsing is lacking. ChocolatApp never bothered to get visual selection right. Sublime suffers some of the same faults as Atom and does the `subl .` work to open a given folder on the first try without Sublime already being open yet? Textmate is dated. Visual Studio Code is actually probably my favorite, but it's just Atom with a different skin and command palette and it doesn't support Scala yet.

I dunno. I flop between different editors weekly it seems. Maybe I'll give UltraEdit a shot. I liked that on Windows back in the day and it seems like there's a Mac version.

My 2c.

EDIT: Nope. UltraEdit is the worst of the lot. Feels like it's running under Wine. No Theme support (you have to choose background colors, highlight colors, etc manually), no Scala support that I can tell. You'd have to be a forever-time UltraEdit user on Windows to want to subject yourself to it on a Mac.

One semi-pedantic correction: Visual Studio Code is not just Atom with a different skin. It uses Atom Shell (now called Electron), but that's just the app host. The editor component is completely different - it's 200K lines of TypeScript code. So you should think of Atom and VS Code as two different websites viewed in the same browser rather than the same app with a different skin.
> Visual Studio Code is not just Atom with a different skin.

And debugging tools that actually work. A strong debugger has always been the reason Visual Studio has excelled, and they've brought that to an open source editor.

You mentioned that TextMate was dated. Have you tried TextMate2? I feel like the UX is a lot nicer than Sublime.
I'm using Atom for a current project and so far I really like it. I think the main selling point is that you can install packages to customize it for your needs. For instance, I use Visual Studio as my main IDE, but it doesn't have support for JSX files. I open up Atom, install a few packages, and I now can edit/lint/compile JSX with full syntax highlighting.
In my experience Atom is noticeably slower than Sublime Text 3 and it cant open files over 2 MB