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

> Given 100% control over typography, how would you format [code] to maximize readability

There was a book on this, whose title I'm blanking on. Anyone remember? Color wasn't an element, since it was an older book focusing on printing on paper.




Kinda rings a bell for me, although not from a book, but some LaTeX manual. Maybe this helps: http://tug.ctan.org/macros/latex/contrib/algorithm2e/doc/alg...


That wasn't it, though that looks relevant for anyone thinking of working on this problem. Thanks for the pointer.


Bjarne Stroustrup's C++ book used a proportional font with tabular spacing.


So did the book I was thinking of, but it tried more fancier stuff too and iirc reported on some experiments in code reading.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: