Web development is already full of so many variations of ways of doing the same thing, and this is part of what makes our job so much fun – but if you are someone who’s still learning about web development these arguments just makes matters even more confusing.
Often I find myself in a situation where I need to write code for a prototype or proof of concert which will be handed over to another developer. When I write the code I have no idea who that developer is or what their skill level will be.
And there’s an incentive for me to write readable, understandable code. If I write poorly structured, bad code then I have to spend much longer handing over my code; sitting with the developer; explaining how it works and coming back to answer questions. And I want to work on the next exciting thing. By following an approach that everyone can understand, I’m saving myself time and pain later on.
Enjoyed this post? Follow me on Twitter!