Comment by ffhhj
5 years ago
I make my code "read like a book" with a line comment for each algorithmic step inside a function, and adding line-ending comments to clarify. So functions are just containers of steps designed to reduce repetition, increase visibility, and minimize data passing and globals.
No comments yet
Contribute on Hacker News ↗