Hacker News new | past | comments | ask | show | jobs | submit login

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?




This is my opinion 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.


Though in Haskell's case, the compiler leaves enough freedom in most cases anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: