norvig-lisp-style.pdf

(598 KB) Pobierz
355866123 UNPDF
355866123.001.png
Understandable
Reusable
Extensible
Ecient
Easy to developdebug
Be explicit
Be specic
Be concise
Be consistent
Be helpful anticipate the readers needs
Be conventional dont be obscure
Build abstractions at a usable level
Allow tools to interact referential transparency
355866123.002.png
Religion Good vs Evil This way is better
Philosophy This is consistent with other things
Robustness Liability Safety Ethics Ill put in
Legality Our lawyers say do it this way
Personality Opinion I like it this way
Compatibility Another tool expects this way
Portability Other compilers prefer this way
Cooperation Convention It has to be done
Habit Tradition Weve always done it this way
Ability My programmers arent sophisticated enough
Memory Knowing how I would do it means I
Superstition Im scared to do it dierently
Practicality This makes other things easier
355866123.003.png
Human readers
Compilers
Text editors arglist doc string indent
Tools trace step apropos xref manual
Users of the program indirect communication
355866123.004.png
Zgłoś jeśli naruszono regulamin