Lorem ipsum dolor sit amet, consectetur adipiscing elit lobortis arcu enim urna adipiscing praesent velit viverra sit semper lorem eu cursus vel hendrerit elementum morbi curabitur etiam nibh justo, lorem aliquet donec sed sit mi dignissim at ante massa mattis.
Vitae congue eu consequat ac felis placerat vestibulum lectus mauris ultrices cursus sit amet dictum sit amet justo donec enim diam porttitor lacus luctus accumsan tortor posuere praesent tristique magna sit amet purus gravida quis blandit turpis.
At risus viverra adipiscing at in tellus integer feugiat nisl pretium fusce id velit ut tortor sagittis orci a scelerisque purus semper eget at lectus urna duis convallis. Porta nibh venenatis cras sed felis eget neque laoreet suspendisse interdum consectetur libero id faucibus nisl donec pretium vulputate sapien nec sagittis aliquam nunc lobortis mattis aliquam faucibus purus in.
Nisi quis eleifend quam adipiscing vitae aliquet bibendum enim facilisis gravida neque. Velit euismod in pellentesque massa placerat volutpat lacus laoreet non curabitur gravida odio aenean sed adipiscing diam donec adipiscing tristique risus. amet est placerat in egestas erat imperdiet sed euismod nisi.
“Nisi quis eleifend quam adipiscing vitae aliquet bibendum enim facilisis gravida neque velit euismod in pellentesque massa placerat”
Eget lorem dolor sed viverra ipsum nunc aliquet bibendum felis donec et odio pellentesque diam volutpat commodo sed egestas aliquam sem fringilla ut morbi tincidunt augue interdum velit euismod eu tincidunt tortor aliquam nulla facilisi aenean sed adipiscing diam donec adipiscing ut lectus arcu bibendum at varius vel pharetra nibh venenatis cras sed felis eget.
Most developers have an inner perfectionist.
A voice that screams at them to make every line of code as perfect as can be. Every bit of code written must be clean, efficient and entirely bug-free. Other developers must see your code and just be floored by how perfect it is.
This doesn't happen.
Let's dive in.
Writing the perfect piece of code is a myth. Why?
Code is subjective and opinionated. There are so many ways to achieve the same thing. Some ways are terrible, while others are great. Some are most likely the best in terms of readability, performance and scalability, but that doesn't make it perfect.
I often describe coding as a skill, just like painting. You would never say that a singular painting is perfect. Just like art, some code is better than others, but ultimately, it comes down to an opinion and what's required for the project.
Let's break this down further.
If you were to really go about trying to write the perfect piece of code, I'd bet you wouldn't even get past the first line.
Why? Because these questions would be going through your head:
These are all great questions to ask from time to time. They'll provide you context on what you're writing and why you're writing it.
But, if in your search for perfection, you forced yourself to have answers to all these questions, you'd spend all your time thinking and never actually get around to writing the code.
You would paralyze yourself before you even start.
What's the most important aspect of being a developer?
I'd say, and most companies and developers would agree, that it's writing code that works.
Not code that is perfect. Not code that will never fail. Not code that will stand the test of time. Just code that works and works in that moment.
Developers are here to provide value by writing code. If you spend hours, days, weeks or months trying to write the perfect code that ultimately doesn't work, have you provided any value?
The key is to find a balance.
Progress is the goal. Perfectionism is the aim.
Whenever you start typing on that keyboard, your goal is to make some progress in writing code that works. The aim you must always have is to make that code as perfect as possible, knowing all the while that it will never be perfect. It can approach perfect, but never really touch it.
It's a morbid thought but there's a reason for this.
You have a project deadline. You have a team depending on you. You have clients hounding you every day. You have management breathing down your back.
Progress solves all these problems. Constant improvement and development is tangible and provides value.
The aim to be perfect...? Well that's just for us and other developers. Writing as close to the perfect piece of code as possible is to show our skills, make the project better and easier for other developers on our team.
Remember that.
Progress > perfection.
See you again next week.