How often have you heard it? Or maybe you’ve said it yourself. "I’ll fix it later". You’re in a rush, the code should’ve been shipped already or maybe it’s just a proof of concept that will be thrown out anyway.
Unfortunately, the code ends up in production and every single shortcut you took, comes back at you, taking its toll on your productivity and stress.
"I’ll fix it later" is not a solution. You never will. So instead of lying to yourself, write code you can maintain. And it’s not about polishing things to perfection. Just don’t make a mess, don’t include stuff you "might need later", don’t put it together with duct tape. Make it clean and easy to read and your future self with thank you for it.
Photo by Yung Chang on Unsplash