When comparing Emacs vs NetBeans, the Slant community recommends Emacs for most people. In the question“What are the best JavaScript IDEs or editors?” Emacs is ranked 8th while NetBeans is ranked 11th. The most important reason people chose Emacs is:
Emacs can be controlled entirely with the keyboard. While true, I often find the mouse and menus handy for those lesser-used commands. An aide-memoir.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Keyboard-focused, mouse-free editing
Emacs can be controlled entirely with the keyboard. While true, I often find the mouse and menus handy for those lesser-used commands. An aide-memoir.
Pro Total customizability
Customizations can be made to a wide range of Emacs' functions through a Lisp dialect (Emacs Lisp). A robust list of existing Lisp extensions include the practical (git integration, syntax highlighting, etc) to the utilitarian (calculators, calendars) to the sublime (chess, Eliza).
Pro It's also an IDE
You can debug, compile, manage files, integrate with version control systems, etc. All through the various plugins that can be installed.
Pro Free
Licensed under GNU GPL.
Pro Self documenting
Emacs has extensive help support built-in as well as a tutorial accessed with C-h t.
Pro Works in terminal or as a GUI application
You can use Emacs' command line interface or graphical user interface.
Pro Great documentation
With 30+ years of use the Emacs documentation is very thorough. There are also a lot of tutorials and guides written by third parties.
Pro Ubiquity
Fully compliant GNU-emacs is available on many platforms, and they all understand .emacs configuration files.
Pro Lisp customizations
With lisp customization, any behavior of Emacs can be changed. Update with pre-release patch can be also applied without recompiling the whole Emacs.
Pro dabbrev-expand (Alt-/)
Dynamic word completion.
Pro Provides org-mode
Advanced planning and publication which can start as a simple list.
Pro Mini buffer
You can pass complicated arguments in the mini buffer.
Pro Enormous range of functionalities (way beyond simple "text editing")
Through its programmability, a very broad range of functionalities can be integrated in emacs, turning it even into a "single point of contact" with the underlying operating system.
Pro Rectangular cut and paste
Emacs can select rectangularly.

Pro Vi keybindings through Evil mode
Evil mode emulates vim behaviors within Emacs. It enables Vi users to move inside the Emacs universe.
Pro Has been widely used for a long time
The first verion of Emacs was written in 1974 and GNU Emacs in 1984.
Pro Visual selection and text objects with Evil
Evil is an extensible vi layer for Emacs. It provides Vim features like Visual selection and text objects.
Pro Support multi-line editing, multiple frame, powerful paren, crazy jumping style
Review the "Emacs Rocks" video.
Pro Cross-platform
Works on Linux, Windows, Macintosh, BSD, and others.
Pro Integrates planning in your development process
You can jump straight from your org-mode files to programming tasks - and back - and build a seamless workflow.
Pro Helm plugin adds even more power to Emacs
Powerful commands, search, and more with the Helm plugin.
Pro Versatile
Emacs is great for everything.
Pro GTK+ widgets support
Since version 25 you can run GTK widgets inside Emacs buffers. One of these is the WebKitGTK+, which allows the user to run a full-featured web browser inside Emacs with JavaScript and CSS support among other things.
Pro Excelent tutorial to get you started
The tutorial you are presented with at startup shows you exactly what you need to get started and teaches you how to use the built-in help yourself later.
Pro Interactive Shells
Emacs has a number of shell variants: ansi-term, shell, and eshell.
Pro Gnus
Managing several large mailing lists has never been easier using Gnus. The threading commands and the various ways of scoring articles means that I never miss important messages/authors, etc. A joy to use.
Pro eshell is cross platform
You can use the underlying operating system shell as a terminal emulation in an Emacs buffer. Don't like the default shell for your configuration? You can change it to your liking.
Pro Excellent Lisp editing support
Built-in packages make editing Lisp source code feel natural.
Pro use-package and org-mode
Missing some neural package that predicts actions
Maybe in the next release ...
Pro Multiple revision control system integration
Has built-in support for the most popular revision control systems
Pro Composer commands inside IDE
The most used composer commands can be done directly from IDE.
Pro Free, open source, and cross-platform
NetBeans is a free, GPL-licensed IDE. It can run on any computer with a Java virtual machine. If a computer has a Java virtual machine (JVM), Netbeans can run on it. Netbeans can, therefore, run on a variety of operating systems such as Windows, *nix, and Mac OS. Being open source means that developers can contribute changes to the code to have the IDE better serve them.
Pro Best for PHP, HTML5 Apps Developemt
Pro FTP/SFTP synchronization
Supports synchronization with projects stored remotely through FTP or SFTP.
Pro Accelerated HTML5 development support
Pro Supports community plugins
NetBeans can be extended beyond the basic tool that you get out of the box through community made custom plugins.
Pro Linux terminal inside IDE
You can run Linux terminal inside the IDE.
Pro Less and Sass Compiler support
Pro Frameworks support
Supports Symfony1, Symfony2,Yii2 & Zend frameworks.
Pro Supports Smarty
Supports Smarty Template Engine right out of the box.
Pro You can access source code history
There's a built-in local history that lets you compare code changes and revert to a specific revision. Helpful when source code file accidentally overwritten.
Pro PHPUnit support
PHPUnit is a testing framework. You can create test classes, run and see the code coverage directly from IDE interface.
Pro JMeter benchmarking tool support
Pro Git commits/local diff comparison is best
Git commits/local diff comparison is best
Pro Supports Twig templates
NetBeans provides code completion and documentation for all Twig elements.
Pro ApiGen and PHPDoc support
Supports documentation generation through ApiGen and PHPDoc.
Pro Powerful debugging and performance optimization
Netbeans not only debugs your code, and points out errors but also gives you hints on which sections of your code could be further optimized.
Pro PHPstan support
Supports static code analysis with phpstan
Pro ApiGen support
ApiGen allows automatically generating documentation from specifically formatted comments. It's easy to use, supports traits, allows fuzzy searching for classes and highlighting docblocks using Markdown.
Pro Bower support
Cons
Con Learning curve is long
While it's better than it used to be, with most functions being possible through the menu, Emacs is still quite a bit different from your standard editor. You'll need to learn new keyboard shortcuts.
Con Sometimes the extensibility can distract you from your actual work
If I ever want to lose half a day, I'll start by tweaking my .spacemacs config file.
Con Keyboard combinations can be confusing for new users
For example, for navigation it uses the b, n, p, l keys. Which for some people may seem strange in the begging. However they can be changed easily.
Con Documentation is not beginner-friendly
Although lots of good built-in documentation _exists_, I have after four years of Emacs as my primary editor not figured out how to actually make use of it, and rely completely on Google / StackOverflow for help.
Con Hard customization
For customization, you need to learn Lisp
Con A lot of jokes in this serious software
Con Using Emacs on a new machine without your .emacs file
Con Slows down occasionally
The Netbeans IDE is known to take a large memory as compared to other lighter IDE's available on the market. Slowdowns can decrease productivity and cause frustration.
Con Multilanguaje code completion fails
I example, sometimes code completion won't help you with html marks (or scripts) inside php echo (or print) sentences, and vice-versa.
Con Default website code format is too strict
Sometimes you need to write allowed code that IDE hasn't spected, and it will annoy you filling all your code with suggestions.
Con Development has stalled dramatically
It went down from two releases a year with minor bug-fix releases to one release and no fixes. There seem to be fewer features added per release as well. There is no activity in the plugin community.
Con Tries to do everything for you and gets it wrong too many times
Con Linux version lacks HDPI support
Built By the Slant team
Lustre recommends the best products at their lowest prices – right on Amazon.