r/learnjava • u/matlau_286 • Oct 02 '21
How would you improve your Java web engineering craft without a senior developer figure at work?
How would you improve your Java web engineering craft without a senior developer figure at work?
I am currently in a situation where my workplace lacks a senior developer figure amongst my colleagues, and so most of my learnings are from Googling example code snippets/references when tackling specific Java/Java Spring Boot problems at work.
Thank you!
8
3
Oct 02 '21
It really depends on what you're doing (hopefully it's not factory robotics or something that could kill people), but you all could update some coding standards repo, coordinate over slack or whatever about best practices for common coding problems like Db connections, authentication, etc..
2
u/Puzzleheaded_Jury316 Oct 03 '21
I just saw a post where the developer was trying to work their java skills, picked up one of the many coding challenges and then posted here for a code review. I think that’s kind of genius, because i bet there are a lot of senior developers here with good advice.
1
u/bitemyshinymetalass0 Oct 03 '21
Hey there I'm in a similar shoes although I'm working solo on a freelance gig. If you are interested in joining a self-driven project oriented cohort let me know.
1
28
u/dipanzan Oct 03 '21 edited Oct 03 '21
Actually I have a similar experience.
When I got hired as a SWE in my 2nd job, it was all Java + Spring/Boot. The senior guys had like 7-8 yrs of experience and started with barebones Spring. All the projects were more or less Spring (because that's what they preferred) and only the brand new ones started to use Spring Boot.
When I was in that company I wanted to learn so much from those senior devs, but in reality they were tasked with so much responsibilities that they simply did not have the time to coach a junior like me.
I was paired with a mid-level dev who still had like 3-4 yrs of experience, he was excellent - really taught me some of the tips and tricks and generally all around good advice that comes from experience. In that company, there was simply no time to learn about good practices, as the mid level and senior guys were always boiling under pressure. Feature requests/new projects like almost every week or even days.
I generally learnt most of the things by reading books and seeing videos (Victor Rentea, Venkat Subramaniam, Laurentiu Spilca- awesome devs with very nice presentations on Youtube). Books like Effective Java, Clean Code (though some of the ideas might seem controversial, at least it did to me), Java Concurrency in Practice (excellent introduction to concurrency).
I still feel sad that I couldn't learn from those 7-8yrs senior devs at my company, had to leave to purse my Masters overseas. But I learnt something very important - all these best practices, good code, and generally cool solutions aren't what these guys sought after. Ultimately it's the client wanting a feature and delivering on time is what brought the bread to the table even if that means bad practices and all that. But probably this is highly depended on the company culture/practice so to speak.
I had to deal with 1-1.5k LOC functions that I regularly trudged through which made no sense whatsoever, and even the idea of refactoring made me shiver because the interconnections and dependencies were really complicated (yes I know it's Spring, but I'm talking about all the embedded business logic). The seniors always encouraged me to go for refactors provided that I didn't break anything. But there were so many bug fixes/issues that needed to be solved at the end of the day, that it always kept refactoring sessions very limited/nonexistent at times.
Sorry for the wall of text, just wanted to share my thoughts.