recently I got job as a java developer, and now I have assigned project too.
I want to know what is a good logic? when I check in the code my team lead is saying that its a good code.
But when it comes to my project manager he is saying that its a bad code. And he is changing my code, after his changes if I see his code its really very very good and even simple.
can you please tell me how to develop the good program, good logic? what is the best way to structure a problem in terms of code?