r/javahelp • • Jan 15 '21

Preferences on Java environments

Hey there, I'm a fairly new CS student, I've taken one quarter of Python courses and this quarter I have begun studying Java. My professor is teaching using BlueJ but recommended any students that are looking to pursue CS as a major to look into other platforms because as programs become more complex apparently BlueJ just starts falling apart. He suggested a few other ones, out of which I have begun using IntelliJ. I was wondering if any of you guys have any input from the professional realm if IntelliJ is a platform that I should be putting significant effort into learning or if there is a better environment that I would be better off learning before I get to deep into IntelliJ, because if I'm learning it, I'd feel much more comfortable knowing that what I'm learning will continue to be useful as I move into the professional sector.

17 Upvotes

33 comments sorted by

View all comments

0

u/[deleted] Jan 15 '21

[deleted]

4

u/squishles Jan 15 '21

That works for python more than java, because python is dynamically typed. Java is statically typed which allows the ide to do a lot more cool shit for you that you'd have a hard time imagining an editor doing for you coming from python.

1

u/nutrecht Lead Software Engineer / EU / 20+ YXP Jan 15 '21

Even for Python it would be pretty silly to use a 'plain' text editor as opposed to a proper IDE, or at least VSCode with a ton of plugins. There's nothing cool about refusing to learn the tools of the trade. That's like a carpenter who refuses to use electric drills because hand drills are cooler.

2

u/squishles Jan 15 '21

python I can see why someone wouldn't want to, every method unless your projects on a recent version of python and strict about using type hinting, the ide can almost never figure out what type is what.

Without the type information what do you really get out of the ide? Maybe an occasional reminder to close the bracket on your list comprehension or catching when you mix tabs and spaces? it just doesn't feel like it's worth the 1-2gb or ram for it, especially when you're going to pretty much have to have the browser open for the api documentation, because almost none of that stuff's getting pulled inline due to the lack of type info.

The usefulness of them between the two languages is pretty much night and day.

2

u/nutrecht Lead Software Engineer / EU / 20+ YXP Jan 15 '21

because almost none of that stuff's getting pulled inline due to the lack of type info.

That simply isn't true at all. Did you even try?

3

u/squishles Jan 15 '21

yes, even went shopping around atom intellj visual studio. None of them come remotely near what you get out of an ide in java.

if you write something like this the ide will not know the type of any variable involved

def foo(bar,baz):
    if(bar):
        return bar
    else:
        return baz