Unnecessary complexity should be avoided. It states that most systems should be kept as simple as possible (but not simpler, as Einstein would have said). A design principle originating from the U.S. As such, even though the initial question on our Slack channel was about how to keep your JavaScript / TypeScript code clean, X-Teamers replied with some of the general design principles of clean code. Instead, it relies on language-agnostic principles agreed upon by the developer community. Clean Code PrinciplesĬlean code doesn't rely on language-specific rules. Recently, X-Teamers discussed their most important principles to keep their code clean, and we decided to share the best ones with the world. No one writes clean code from the beginning. While it might take longer to write clean code in the short term, it's beyond established that writing clean code will save everyone time, effort, and ultimately money.īut there's always room to learn. Bad code is difficult to understand, more complex than it should be, not easy to test, and it makes other developers seethe with frustration. Bad code works until it's the year 2,000.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |