Second, you want to be a better programmer. You’ve probably read this far for two reasons: First, you are a programmer. Good programmers write code that humans can understand.”-Martin Fowler “Any fool can write code that a computer can understand. Writing clean code is not a big or time-consuming task, but making it your routine, and committing to it, will go a long way toward advancing your career and improving your own time management and productivity as a programmer.Ĭlean code always looks like it was written by someone who cares. But producing quality, clean code is your duty as the programmer. It is the job of the project manager, sales head, or client to get the project done in minimum time so they can control the cost of the project. I’ve always learned that using clean code principles has many benefits down the line, and this post will show you why. So, make it a habit to write code as clean as you can from the first line of code. Once the first version is released, they will push you for the second. But it does not work no client gives you time to clean code. Some programmers write dirty code because they plan to release the first working version and then work to make it clean. This is almost always the excuse I hear when I ask about dirty code. “He is always in a hurry and pushing for deliveries, so I did not have time to think about cleaning it up.” “The client didn’t give me enough time,” my friend told me. I asked him if he deliberately wrote dirty code. When I asked to see the code for that problem, he said, sounding proud, “I built this project so we are the only ones who can understand the code.” He was working on a complex project, and he was discussing a problem with me. So why would I still care about writing clean code?”Ī little while ago, I was having a discussion with one of my friends, Kabir. “My code is working well, the website I built is looking great, and my client is happy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |