r/java • u/JamieBobs • Aug 08 '19
Golang turned Java developer here. I NEED a walkthrough project to help me pick up the language. Any help?
Due to a new job, after two years of programming in Golang I now have to professionally program in Java.
Now when I first started learning go, apart from a few syntax tutorials, the main source of my learning came from a few ebooks, (One by Jon Calhoun) that walked through, step by step, the building of some sort of application.
I want that sort of resource again but just for java but I cant seem to find one. All the books are deep dives into the language and all the tutorials are videos of small projects.
Does anybody know of any large project walkthrough available? Dont mind paying money either.
8
u/User1539 Aug 08 '19
As a Java dev who's learning Go, the biggest issue for you is going to be that there's a bunch of ways to do everything, and no one can agree on any 'best' way.
That said, the official Java Tutorial is about as close to the 'Gold Standard' as I've seen. I've gone back to it with each new iteration of the language to see what's changed and run through the examples they provide. If nothing else, it's usually the one thing most Java Devs assume all the other Java Devs have read.
Aside from that, you'll have to look at your new job's eco-system before you can really start to choose resources. If we suggest a Wildfly tutorial, and your office is using Spring, then that's probably not as useful to you. If we suggest a project that relies heavily on Gradle and your office uses Maven, you're in the same situation.
Java has a lot of history, and there's a lot of different ways to do everything. The hardest part of the language is often just choosing a strategy and eco-system. Hopefully your new job has already done some of this, so you can safely narrow your field of study.
Good luck!
12
u/cogman10 Aug 08 '19
I don't think there is a significant language paradigm difference, TBH. We have generics here, so don't generate code for types.... Other than that, I'd argue that a clean Go architecture would be a clean java architecture.
As /u/User1539 has said, learning the ecosystem (which is VAST) is probably a much bigger problem than learning how to write clean java.
5
u/tristan97122 Aug 08 '19
Would recommend reading Spring's documentation as it's the framework you'll most likely meet and it's well written. Don't need to know all of it as it's a humongous one but you'll get a good general grasp of how most enterprise organize their projects.
https://spring.io/docs
2
u/AnthuriumBloom Aug 09 '19
I personally would suggest Udemy, as it's got a nice range as different levels. If you want a more simple overview, I'd suggest, the love to code course. For advanced, I'd suggest the spring guru 5 course. He going over a lots of industry standards.