DEV Community

Discussion on: What is your best advice for a junior software developer?

Collapse
 
owusudev profile image
Owusu Samuel

Can you explain the point 3. I thought using design pattern is a good code practice.

Collapse
 
structed profile image
Johannes Ebner ☁🎮

Design patterns are names for common solutions to common problems and therefore often just a label to shorten a discussion. Do not apply a pattern for the pattern's sake, but apply the right pattern to fit a given problem.

Collapse
 
webreaper profile image
Mark Otway

He's basically saying "fit the solution to the problem, and don't over-engineer". Not everything needs a design pattern, so sometimes just keep it simple, avoid abstraction layers if possible, and don't optimise prematurely.