DEV Community

Sam Jarman 👨🏼‍💻
Sam Jarman 👨🏼‍💻

Posted on

Two weeks in! 100 Bytes Of Wisdom: Day 14

Alt Text

This byte of wisdom from @sammio2 on Twitter talks about trying to keep your code simple and lean. Write no more (or no less) code than you need. If you can avoid writing something without compromising quality or features, then do so. The more code you have, the higher the chances for bugs and the higher cost to maintain. New devs can often get carried away writing something that wasn't asked for because they were in the moment and having fun. That's ultimately bad engineering and gives your team a burden to carry forward.

Heads up: As with any terse bit of advice, there will be exceptions of course, and subtleties and nuance that can't possibly be captured in a Byte of Wisdom. This has been what I've experienced, I'd love to hear yours in the comments too!

You can catch up with all the other bytes at http://bytesofwisdom.com/

Top comments (0)