r/learnjava • • Aug 14 '15

Which IDE to use.

I'm a beginner. I know the programming basics, may be advanced basics I'd say. I used eclipse up until now, which is recent, as I switched from c++ to java and I never coded much. So now that I decided to program more. I'm caught between which IDE to use. Eclipse, net beans, and others. Could you suggest me. Also would be great if you could tell me the same for c++(I know wrong sub) sorry. Thanks.

Edit : I have decided to try each and see for myself. But any opinion on why one is used or why do you consider one is welcome.

1 Upvotes

36 comments sorted by

View all comments

1

u/causalNondeterminism Aug 14 '15

Most of the major Java IDEs have the following features:

  • code suggestion/completion - helps you to know which methods/fields are available for the variable you're working with

  • Built-in console - doesn't require you to bounce back and forth between your source editor and your console.

  • Debugger - a way to toggle breakpoints, pause execution, and look at the values of fields and variables at that point in the execution.

I've only ever used NetBeans and Eclipse. Eclipse is nice because it has a large community - making it super easy to find help. It's also feature-rich. NetBeans gets a lot of hate, but if you're doing a lot of GUI work, it's got a very convenient GUI builder similar to Microsoft's Visual Studios for Visual Basic. My understanding is that there's a GUI builder plugin for Eclipse as well, but I've never looked into it all that much. IntelliJ also seems to be growing in popularity, so I'm sure there's good reasons for that. Ultimately, you should try them and see which you like.

0

u/sebuelias Aug 14 '15

I understand what you are talking about. But the difficulty in trying it all seems hectic. I like eclipse from what I used. But when it came to ui design and all, net beans offered much more, as I was able drag and drop. Is there anything like that for Eclipse?

2

u/causalNondeterminism Aug 14 '15

this plugin is a good place to start.

2

u/desrtfx Aug 14 '15

Ui design in Java is best done without any GUI builder.

Hand coding GUIs is much more efficient and produces cleaner, easier to maintain and troubleshoot code.

UI designers are best only used for rough prototyping.

BTW: Eclipse has Window Builder Pro which is free despite the "pro" in the name and probably is the best GUI builder for Java around.