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

I'm not familiar with Literate Haskell, what would that involve?



"Programs should be written for people to read, and only incidentally for machines to execute." (Structure and Interpretation of Computer Programs" by Abelson and Sussman)

The idea is that you write a "Book" and the program is extracted, from the book.

Literate Programming Wikipedia: https://en.wikipedia.org/wiki/Literate_programming

A nice talk about it: https://youtu.be/Av0PQDVTP4A


It's just where the majority of the file is a comment instead of a minority.


Thank you. Thank you so much.

It's an old pet peeve of mine. I cringe inside every time someone starts waxing about "writing your thoughts first, and your code only incidentally" or "it's a completely different paradigm of programming" and other such pieces of useless, discouraging new age fluff.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: