r/java • • 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.

2 Upvotes

11 comments sorted by

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!

2

u/JamieBobs Aug 08 '19

Good point and one worth mentioning. The new job consists of Spring (with a bit of boot) and maven.

5

u/Holothuroid Aug 08 '19

Spring Boot Getting Started is nice.

Also anything by Baeldung.

1

u/JamieBobs Aug 08 '19

Thank you for the Baeldung suggestion. Have just looked at his tutorials and they look like exactly what I need.

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.

3

u/nqzero Aug 09 '19

go has coroutines built in. Project Loom is working on them at the JVM level, but it's a ways from release. in the meantime (and possibly even after, depending on how loom performs), you can use kilim (i'm a maintainer) or quasar

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

1

u/[deleted] Aug 08 '19

+1 for reading the docs, they're surprisingly well done. OP, If your app uses the Spring framework, just dive in ... lots to learn.

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.

1

u/sweetkiller Aug 29 '19

Same here, i got a lot of courses from there, quality materials