Why Write Clean Code? ⛩️
Imagine if you tried to find something in a messy room—you'd waste time searching, right?
The same goes for ...
For further actions, you may consider blocking this person and/or reporting abuse
I'm glad to see this being highlighted yet again! I'm not quite sure where the hostility to code structures beyond "just code it bro" come from, but I have had to see some pretty horrific codebases and so am happy to see ANY kind of overarching structure in a codebase being talked about!
Clean code is the key to override headache!
🤣🤣
Read "Uncle Bob"s book "Clean Code". The chapter on "code smells" by itself is worth the price of admission.
Comments: always have a comment block at the top of the module/package/class/whatever, describing WHY this (whatever) exists -- what is its purpose? Not HOW it works, but WHY it exists. Give the next person to touch it the context needed to understand it.
I always loved Uncle Bob's clean code technics. He is the best. My teacher Mosh (programming with mosh) always followed him as well.
Going back to "Code Complete" being one of my favorite books when it comes to programming. During my career (going on 20+ years) I had to learn some of this the hard way trying to decipher code that I myself had written after not looking at it for a few years.
Recently had to go back and work on a program I wrote just 7 years ago and it was very easy to modify and make changes to the program because I used common sense when designing it. Take the time to refactor your code into functions where able and it makes sense. Then your subroutines can be a few lines long, with easy sections to troubleshoot.
Thanks for this! Saving it! 💖
You're most welcome!
Awesome! Thank you
Glad to hear that!
Read the „ Refactoring“ book for the beginning.
Elegant and crisp explanatiom
Thank you for your feedback!
Thank you for useful information
You're welcome
very helpful for us beginners
Yes, I know!
Nice. Thank you.
You're most welcome!
Nice!
Thanks