Bad Code — A deadly nightmare
A computer program should be written in a way that not only it works, but it works fast, is efficient and easier to read, understand and modify. When such pieces of code are read by other people, it not only makes things a lot easier for them but also instills a sense of admiration in the reader’s mind about the coder/developer.
“Clean code always looks like it was written by someone who cares.” — Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship
Written above is the general understanding of what is meant by clean (good) code. Bad code is the polar opposite of that. It makes life difficult for everyone, from the reader to the coder/developer.
“ It was the bad code that brought the company down” says Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship
This post was originally published on my blog. The reminder of this article covers the following topics:
- Reasons for Bad Code
- The drastic Effects caused by it.
- Possible solutions to avoid Bad Code.
If you found this article useful, don't forget to share it. Also, to be notified about my new articles, follow me on Medium and LinkedIn.