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

I heard a story that the original indentation style that K&R wanted to use was the same as Allman, but then the printers chose to do the current K&R style to save paper.

Does any one know if that's true, or just an urban legend?




The book was typeset by the authors, so it seems unlikely.

K&R style is clearly in evidence in source code from 1973 such as https://github.com/dspinellis/unix-history-repo/blob/Researc...




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

Search: