Knaph

Code readability

Writing code so that the next person, often yourself months later, can quickly understand what it does and why: clear names, docstrings, comments that explain, one shared style.

Depth 1 · Foundation

You write code for its next reader: names that say what values are (units included), docstrings that say what a function is for, comments that say why rather than what, and PEP 8's shared style.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You write code for its next reader: names that say what values are (units included), docstrings that say what a function is for, comments that say why rather than what, and PEP 8's shared style.

Your path here

What's still between you and Code readability, depth 1, in the order you can learn it.

  1. 1ProgramDepth 1 · Foundation · Program Basics
  2. 2ExpressionDepth 1 · Foundation · Program Basics
  3. 3Variables in codeDepth 1 · Foundation · Program Basics
  4. 4Program stateDepth 1 · Foundation · Program Basics
  5. 5Input and outputDepth 1 · Foundation · Program Basics
  6. 6Functions in codeDepth 1 · Foundation · Functions
  7. 7Return valuesDepth 1 · Foundation · Functions
  8. 8BooleansDepth 1 · Foundation · Control Flow
  9. 9ConditionalsDepth 1 · Foundation · Control Flow
  10. 10LoopsDepth 1 · Foundation · Control Flow
  11. 11Accumulator patternDepth 1 · Foundation · Control Flow
  12. 12Floating-point numbersDepth 1 · Foundation · Data Types
  13. 13Basic typesDepth 1 · Foundation · Data Types
  14. 14Character encodingDepth 1 · Foundation · Data Types
  15. 15StringsDepth 1 · Foundation · Data Types
  16. 16Type conversionDepth 1 · Foundation · Data Types
  17. 17ExceptionsDepth 1 · Foundation · Writing Correct Code
  18. 18NoneDepth 1 · Foundation · Data Types
  19. 19ListsDepth 1 · Foundation · Data Structures
  20. 20DictionariesDepth 1 · Foundation · Data Structures
  21. 21Type annotationsDepth 1 · Foundation · Writing Correct Code
  22. 22Code readabilityDepth 1 · Foundation · Writing Correct Code

Where it fits