CLEAN CODE

CLEAN CODE

Software programming good practices are to implement clean code principles, and one of them can be remembered as KISS, (keep it simple, stupid). That means to write the code as simply as possible. Other principles would be to avoid unnecessary repetition, delete what is not needed, and ensure readability for both machine and man. Again, keep it simple, stupid.

The advantages of clean code are more stable and efficiently maintainable programs. Many studies reveal that 80% of maintenance efforts go towards understanding the code written by the development team. Clean code would reduce the time taken to understand the code. Good code is clean, readable, and understandable. So, it is advised to take some time after you've finished it, make it clean, refactor what you must, do what you need, change names, make it classy, make it good.

Bad code wastes a lot of time because it needs a lot more maintenance effort. Plus, the time it takes to modify the code to comply with new requirements makes error handling a disaster. It is one thing if a developer occasionally makes a mistake (we’re all humans), but it is entirely another if neglect penetrates every piece of your code.

Martin Fowler said, "Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

Thiago Corrêa lima Ferreira

Field Analyst na Pasquali Solution

1 年

Top

Que Deus console o seu família vou estar orando pra Deus da for?as a família amém

要查看或添加评论,请登录

Titan Clarity的更多文章

社区洞察

其他会员也浏览了