DEV Community

Discussion on: 🌙 Navigating the codebase | The ultimate junior web developer survival guide

Collapse
 
rockykev profile image
Rocky Kev • Edited

Even teams forget this at times. My team was trying to duplicate a chunk of functions that worked on another project, using the overly optimized code we wrote for it.

After a few days of failed attempts, someone said. "Screw this. Let's just hardcode it." Just to get something to work.

Once we got something to just "work", then we slowly moved to making it as tight as the code we were trying to duplicate.

It's a excellent reminder... No matter how many years of experience.