2 ms·
Let's say you broke down your code in good small functions with comments on its purpose, params etc. You also commented blocks of the code with good comments.
by sytelus 12y ago
Let's say you broke down your code in good small functions with comments on its purpose, params etc. You also commented blocks of the code with good comments.
I know people often say LP is not just "good commenting". But, really, is above so different than LP?
- cdosborn 12y agoThis is my opinion https://news.ycombinator.com/item?id=8185142 https://news.ycombinator.com/item?id=8185142 In some cases LP won't provide a benefit over commenting. But the idea is that you step outside of the rules of the language (or more appropriately the interpreter/compiler) and write a story where the order is defined by the ease of explanation, not the order mandated by the machine.
- eru 12y agoThough in Haskell's case, the compiler leaves enough freedom in most cases anyway.