|
|
|
|
|
by carlmr
2179 days ago
|
|
>how important writing skills are even for technical people (even coders). Especially coders. Writing clear programs is a lot like clear writing. A function is like a paragraph of a text. It should meaningfully abstract one concept of your higher level logic. It should be introduced by a clean input from the previous "paragraph", and produce an output that is the input for the next "paragraph". If your higher level function becomes too large, you can create larger structures like sections in writing. Having this ability to mercilessly copy edit, paring down your functions to their core concept and putting them into meaningful context is really useful if you want others to understand your code. |
|