…with apologies to Strunk, White, Plauger, and Kernighan
©Mircea Neacsu 2016-2023
”... programs must be written for people to read, and only incidentally for machines to execute.” — Structure and Interpretation of Computer Programs second edition; Harold Abelson and Gerald Jay Sussman with Julie Sussman, foreword by Alan J. Perlis
These rules will make programs easier to read and easier to understand. They have been designed with an eye on legibility and respect for typographic conventions.
Note: None of these rules are cast in stone; they can always be bent if need arises. Just be prepared to give some good arguments why you didn't follow them ;-) Some of them are softer than others, though.