r/javahelp • u/Mqyang_lazy • 14d ago
Solved Noob here
Hi everyone,
I’m a junior developer. While learning and working on development, I find it really hard to understand what proper engineering work a feature actually requires. What I build often ends up being more like a demo rather than something production-ready. My team lead keeps criticizing me for this.
Does anyone have good advice on how I can improve? Thanks in advance!
3
Upvotes
View all comments
2
u/edwbuck 13d ago
Write some unit testing. Make sure it's really "unit testing" in the sense that it tests only one small "unit" of the program.
A unit tested solution will naturally take on features in production quality code. The testing is how you "add" quality, because quality is proof your solution works. You can have a working solution that never has an error, but if you lack the proof it works, it's not quality.
Also, if your team is telling you it's not good enough, but not telling you why, they might be looking for something you'll waste much of your time trying to guess. Work is not meant to be a guessing game. If they want something, they should be able to tell you what it is, in vague, but still deliverable terms.
If they fail to do that, you don't really have a team lead, you've got a self-important "best programmer in the group" that will do everything socially to ensure they keep their position, by telling everyone else (till many believe it) they are better and their team sucks.