Clean Code: How to Have a Better Code
LeCoding
Let's talk about the remaining rules of Clean Code to have a better code.
Robert C. Martin known as Uncle Bob wrote this book where he teaches us how to do Clean Code and in this series I walk you though the main rules he established using Dart examples.
Want to go deeper into Clean Code? Here you can buy the book: ๐ for KINDLE: https://amzn.to/3BA6yx4 ๐ hard copy: https://amzn.to/3BVggeJ
Code Examples: https://gist.github.com/LeBaleiro/c1bacbf92e16f491b41a14f192619b66
Clean Code introduction video: https://www.youtube.com/watch?v=6TqO2EMs2L4
0:18 The Boy Scout Rule 0:47 Respect Indentation 1:31 Keep your lines short 2:16 Isolate the business from the UI 3:40 Avoid Depending on Strings 4:16 Donโt use magic numbers 4:50 Error handling should only be about errors 5:20 Replace conditionals with polymorphism
#cleancode #unclebob #dart ... https://www.youtube.com/watch?v=Rc2cUb5Vlsw
66206241 Bytes