dev don't use clean code
- Everywhere I hear references to clean code, but what is my disappointment when I see that there is a lot of lack of application of this principle, maybe I have not understood it well but even in the > "most prestigious Bootcamps" do not respect the principle.
- For me this principle is clear, a responsibility a > "Class", which as I understand it would mitigate a fluidity of the code great, so itself improve the security of the code. I remember a class at the University two magnificent teachers gave us guidelines to create efficient classes, which also comply with all the directives of the clean code added an extra which was that rules should follow to create good functions, the one that most impact me for its difficulty at the beginning was if a function has more than 7 lines thinking of sharing responsibilities in another function. Because that I do not see in almost any code, almost all the classes I see have endless functions, and I share with you that in my opinion is much more visible and effective a short function with calls to others, it works with less memory and the structure is much cleaner.
Top comments (0)