When comparing Code::Blocks vs NetBeans IDE, the Slant community recommends Code::Blocks for most people. In the question“What are the best IDEs for C++ on Windows?” Code::Blocks is ranked 1st while NetBeans IDE is ranked 9th.
Ranked in these QuestionsQuestion Ranking
Pro Free/Libre/Open Source
Pro Cross platform
Code::Blocks is available for both Windows and Linux, allowing you to use the same IDE across both OSes if you use different machines.
Pro Easy to use
Easy to pick up, for example much easier to include libraries.
Pro Debugger multi-threading support
The debugger supports multi-threaded processes for faster debugging.
Pro Lets you choose the compiler
Code:Blocks lets the developer choose which compiler to use, giving you a higher level of control for on your development workflow.
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.
Pro Good refactoring
Pro Easy to learn
Very easy to learn, unlike e.g. Eclipse (which is probably the most flexible).
Pro Good support for integrated Database e Servers (E.g. Tomcat)
Pro Multiple revision control system integration
Pro Customizable theme
Pro Take less memory
Con It's hard to make the code readable
Due to the problems with indention, it's hard to make the code look nice.
Con Poor code completion
The code completion for Code::Blocks is rather poor compared to other IDEs
Con Little support for UML
Unless you load extensions.
The Netbeans IDE is known to take a large memory as compared to other lighter IDE's available on the market. The slowdown can decrease productivity and frustrate programmers.