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

12

u/THEJavaApprentice Aug 14 '15

IntelliJ. There is no competition. Also if you are a student, you get a free licence for 2 years, for the full package.

-5

u/sebuelias Aug 14 '15

Why do you day that. Make your case.

3

u/desrtfx Aug 14 '15

Can you explain why you agressively question every single piece of advice?

Whatever is suggested, you question it in a very questionable way.

If you don't want to accept any advice, just don't ask.

The way you come across in this thread is very demanding and feels like you just want to provoke.

0

u/sebuelias Aug 14 '15

I am really sorry. Really am. I just wanted to know what everyone thinks. I read online couldn't find much. Then thought of asking you guys who have experience. So as an inexperienced guy I just wanted to see what all you consider, how do you rate and stuff.
Not that I'm questioning. And more over I will be trying all these IDE as recommended. But I just wanted to see how everyone thinks. Sorry if I came across bad.

0

u/desrtfx Aug 14 '15

You really came across badly.

Try each and every one for yourself (all are free) - for some time - and stick to the only you like best.

During your programming life, you will need to switch IDEs anyway as each IDE has it's strengths and weaknesses and thus some projects are better done with IDE a, whereas some are better done with IDE x.

2

u/sebuelias Aug 14 '15

Thank you. I am trying anyway after I was told here I decided I'll. But I just asked cause I wanted to know how you guys rate, what all you consider. And what is each ide best for. That's all. Anyway. Thanks again. And I'm sorry.

2

u/king_of_the_universe Aug 15 '15

I read online couldn't find much.

There must be a billion threads on the Web about "what's the best IDE".

Personally, I worked with Eclipse for two years, then tried the free version of IntelliJ IDEA for a day, switched to it, never looked back. (desktop Java developer)

1

u/NewAnimal Aug 15 '15

i checked all of his replies in the thread and it seems like he was just asking for clarification. there is no shortage of people saying which one is best, but REASONS why one is preferred over the other was obviously what OP was asking for with his replies...

"there is no competition" is not really a reason, and its not that crazy to ask for a little bit more detail.

if ive got three people and one says IntelliJ, one says Eclipse, and one say NetBeans.. who do i listen to without more info?

2

u/desrtfx Aug 15 '15

I did not say that he should not question, but it was the wording, the way OP asked for more info:

Why do you day that. Make your case.

Why would you say that. What makes eclipse better than the rest.

Personal preference being? At least do you know what is each best at?

All these replies are aggressively worded and could be written better.

That's what I addressed by coming across badly.

2

u/NewAnimal Aug 15 '15

heh, i understand that. i think it might be a.. i hate to assume.. but a language barrier. weird punctuation. weird wording.

i agree it could be interpreted it that way.. but i think its much less malicious than intended.

5

u/desrtfx Aug 14 '15

I'd say Eclipse or IntelliJ Community for Java and Microsoft Visual Studio Community for C++.

1

u/sebuelias Aug 14 '15

Why would you say that. What makes eclipse better than the rest.

6

u/desrtfx Aug 14 '15

I did not say it's better than the rest. I also recommended IntelliJ.

Fact is that Eclipse and IntelliJ are the most commonly used IDEs for Java.

At the moment, Eclipse is a bit more prominent in professional development than IntelliJ but IMHO that's mostly due to the fact that Eclipse is free (and that it initially had a huge push from IBM) versus IntelliJ being commercial.

1

u/king_of_the_universe Aug 15 '15

Umm... I am sure you must know that the Community Edition of IntelliJ, which is free, has most of the functions most developers will crave. Why did you choose to only mention the commercial edition? Because of certain features that I forgot to consider?

1

u/desrtfx Aug 15 '15

Ahem. Did you read my first comment in the thread?

I'd say Eclipse or IntelliJ Community for Java

There I mentioned the community edition.

But, in the lower pat I was not talking about which IDE is better, but about which is more prominent.

The community edition is not for professional development. That's what I said.

1

u/king_of_the_universe Aug 15 '15

Well, I could have phrased that better. The reason for my comment was this: It could give OP the impression that Eclipse is free while IntelliJ costs money.

I mean, your other statements in this thread are just neutral in that regard, so OP could interpret this now as "just additional information" that hadn't been stated so far. The subtlety of IntelliJ "Community" (and its meaning, which people who don't know IntelliJ likely also don't know) can easily escape a reader.

The community edition is not for professional development.

And this is certainly not true. In case you believe that IntelliJ CE can't legally be used for commercial development: It can be, and it is also well sufficient for that.

2

u/desrtfx Aug 15 '15

In case you believe that IntelliJ CE can't legally be used for commercial development: It can be, and it is also well sufficient for that.

Thank you for the correction! Learning something new all the time.

2

u/king_of_the_universe Aug 15 '15

Wow, you really didn't know this? (Probably the legal part, I assume.) Mind blown. Here's some evidence because of the importance of the information:

http://www.jetbrains.org/display/IJOS/FAQ

The Apache 2.0 license was chosen for both the IntelliJ Platform and IntelliJ IDEA Community Edition. For the full text of the license see: http://www.apache.org/licenses/LICENSE-2.0.html We chose the Apache 2.0 license because it is a very open license which lets anyone create both open source and commercial products on top of our platform.

So, they explicitly allow people to build commercial versions of e.g. the Community Edition, which (I THINK.) by extension would also include commercial use of the IDE.

https://stackoverflow.com/questions/1583995/am-i-missing-something-about-the-intellij-announcement - excerpt of accepted answer:

To clarify: The community edition of IntelliJ is available under the Apache license, which means you can use it for whatever purposes you want, including writing proprietary, commercial software. It also mean you can modify the code of IntelliJ yourself, sell modified versions of it, anything like that, as long as you abide by the Apache license.

And finally http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/#comment-4939

Dominic says: May 21, 2013 at 1:28 pm

What are the licensing terms and or potential costs for Android Studio. IDEA states that the free community edition is for open source development only. Will Android Studio be the same way? Will it allow commercial development for free or will you have to purchase a license for commercial development?

yole (Dmitry Jemerov, "IntelliJ IDEA developer, JetBrains")) says: May 22, 2013 at 9:21 am

Dominic, IntelliJ IDEA Community Edition is completely free and open-source, licensed under the Apache 2 license and can be used for any kind of development. Android Studio has the same licensing terms.

This was relatively hard to find. Looking at their FAQs, I get the strong impression that they assume that as soon as someone says "Apache License", everybody knows what's up, but that is quite not so. OMFG, it's even missing from the fucking Wikipedia page! EDITED. With reference.

https://en.wikipedia.org/wiki/IntelliJ_IDEA

2

u/desrtfx Aug 15 '15

Thank you!

I really missed that.

1

u/enahsh2o Aug 14 '15

I personally love Eclipse, but I wouldn't go so far as to say it's better than the rest. You will almost always see it touted along side NetBeans and IntelliJ, because they are all on par with each other. Which one you choose comes down to personal preference.

-3

u/sebuelias Aug 14 '15

Personal preference being? At least do you know what is each best at?

2

u/enahsh2o Aug 14 '15

Personal preference can be as arbitrary as liking the way the IDE looks compared to the others. Eclipse is probably best if you do a large variety of things because of its vast amount of plugins. NetBeans has a great scene building tool from my understanding. Not sure what IntelliJ excels at.

1

u/tutorial_police Aug 17 '15

IntelliJ excels at indexing your code base, navigation, completions, suggestions and analysis. Eclipse is like a 5 year old compared to IntelliJ. IntelliJ is is much more convenient to use than Eclipse.

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.

1

u/wheezymustafa Aug 20 '15

I consider myself on the high-end of a beginner of java.. I gotta tell you, Intellij makes me feel like a master coder. Everything just.. makes sense. You don't get that same feeling in Eclipse.

2

u/sebuelias Aug 20 '15

I'm going to try that bro. Thanks.

0

u/[deleted] Aug 14 '15

Just use Emacs ;)

1

u/sebuelias Aug 14 '15

What would that be? If it isn't too foolish to ask.

4

u/robi2106 Aug 14 '15

(snark aside) OP asked for IDE, not an ancient fossilized command line text editor for linux with super powerful but mysteriously hidden features.

3

u/causalNondeterminism Aug 14 '15

wikipedia

relevant xkcd

emacs is a text editor, not an IDE. one which is loved by those who use it and hated by those who don't know how.

1

u/[deleted] Aug 14 '15

ha ha well it's a stupid answer because you want an IDE

Emacs is a dope text editor which is extremely fast to use and highly extensible

the main feature imo is you never have to use the mouse or arrow keys, similar to vim in that it's approach is to require its users to learn a fair amount but if you can get on board it'll take your headaches away

for debugging, etc. it's not the best

0

u/[deleted] Aug 14 '15

[deleted]

-1

u/robi2106 Aug 14 '15

to elaborate on BlueJ, it gets the nit picks of Java out of the way and lets you dive into OO programming with a simple interface and no bells and whistles. It also makes learning about instances of objects pure joy.

Once you get the hang of OO and java, then you can move to something with a better debugger, more features, etc etc.

BlueJ was designed specifically for learning Java absent all the tomfoolery and complications of frameworks like spring, struts, hibernate, blah blah blah.

Their tag line starts out "A free Java Development Environment designed for beginners," which is exactly what it does best.

http://www.bluej.org/

3

u/desrtfx Aug 14 '15

Besides the fact that BlueJ doesn't have any of the features of a modern IDE which makes programming easier (and also learning to program). No code help, no refactoring, no quick documentation, no code check while programming (one of the best features of eclipse); basically BlueJ is a text editor claiming to be an IDE with a UML display feature.

Besides the fact that BlueJ produces cryptic error messages that count for a large part of the questions asked in /r/javahelp

I'd strongly advise against using any of the so-called beginner IDEs. They are far from user friendly and do not actually help learners.