Skip to content

My notes from listening to lessons: Uncle Bob - Clean Code

Notifications You must be signed in to change notification settings

Mart17/uncle_bob_clean_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Uncle Bob - Clean Code

My notes from listening to lessons available on youtube


Comments

  • degrade over time
  • can be misleading if they simplify things or aren't exactly correct
  • TODO code must be either done or deleted before you checked the code in
  • should be easily understandable

Naming

  • a variable named just "d" (days) or "i" (index) has a proper name length for it's scope, if it's just a single line. For multi-line code it's not sufficient, because you might lose context
  • variable name length could be based on the scope of the code that contains them - local for function, instance for class, global for app
  • classes like "Product" and "ProductData" - you can't tell the difference from them

Other

  • release the code when you know it works and it's entirely finished to the best of your ability
  • your expectation of code should be - the code should improve with time
  • write/design code to be testable from the beginning
  • write as little code as possible that does the job
  • technical debt introduces problems right from the beginning - you go fast by going well

About

My notes from listening to lessons: Uncle Bob - Clean Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published