Skip to content
loading...

Java Crash Course Suggestions

twitter logo github logo Updated on ・1 min read  

Just this week I started at a new company for the first time in the role of a professional developer. So far, I'm enjoying it and today I was handed my first coding assignment. However, it is all in Java which I have very little experience in.

The team knows that I'm still getting up and running and that this language is not in my prior experience but I'd like to surprise them. To that end I was wondering if the community had any thoughts, recommendations, or sources to point me towards for a good crash course in Java and the Eclipse IDE.

EDIT: As per simonhaisz's comment below, my current main use language is Go and I'm also familiar with Python.

Thanks for any and all input!

twitter logo DISCUSS (7)
markdown guide
 

More information would help us help you :)

The most relevant bit of info would be what languages you already know. I know when I first started expanding onto new languages I found comparison guides very useful. I remember for a while I kept referring back to 'C# for Java programmer' guides until I got used to the differences.

So what is your current core language? Python? JavaScript? Go? The answer to that should probably drive how you learn Java.

 

Awesome point! Current main working language is Go (personal favorite) but I'm also a fan of Python.

 

It's pretty ironic, don't you think...that you as a Go developer are learning Java? Considering one of Google's use-cases for creating Go was as a replacement for a lot of their Java programs. But I digress...

Since you mentioned Python, this is a good guide. It covers the basic syntax differences of the two languages.

Since your main language is Go I think the main thing your should watch out for in various online tutorials is the 'inheritance over composition' issue, since Java is a inheritance-based OO language and Go can barely be called an OO language. While I only read it 5 minutes ago after a quick Google search, this page seems like a good start to the 'is-a' vs 'has-a' approaches. I know from past experience that there is a fair amount of examples/tutorials out there for Java that push inheritance as the solution to all problems. I would suggest, especially as a Go developer, you default to composition unless there is a clear and easy reason to use inheritance. Go crazy with interfaces though - that's all good :)

Just following up on that recommendation - it was great! I spent the good part a day last week running through it and tracking down other information on Java. Luckily, I'm able to do my work through Atom/command line rather than having to learn Eclipse right away and now I'm about to turn in my first Java assignment. Thanks a lot!

Great to hear it went well!
From an IDE perspective my own experience is based around Eclipse and IntelliJ. I've done some minor Java stuff with VSCode+extensions but never with Atom. Good to know that worked out for you.

 

Hi John, I don't know what you are working with but a basic tutorial to Java will give you the insights to the language, the comparison guides that Simon mentioned are also a great idea, I watched the complete Java masterclass from Tim Buchalka and was imo really good for getting to know how Java works.

For more advanced topics like the web tier, "the Java EE tutorial" from Oracle helped me a lot and for Eclipse I will leave the link to their community at the end.

I'm not a professional Java developer but I hope this can be of any help for you, and good luck in your assignment!!

eclipse.org/community/

 

You should definitely check out: Java: A Beginner's Guide by Helbert Schildt. It's definitely NOT a crash course but you could use it as reference when you have to learn more about certain topics like — I'm improvising — generics, JavaFX, servlets, beans, etc...

Regarding to the crash course, use the official Oracle Java tutorial because you already have programming experience.

Classic DEV Post from Nov 13 '19

Apples announces new 16-inch Macbook Pro

Discussion thread for the new Macbook Pro thread

John Forstmeier profile image
Build well
Sign up (for free)

dev.to is where software developers stay in the loop and avoid career stagnation.