Hacker Laws github.com · 10 points · 1 comments · HN thread TL;DR A GitHub repos...

@best

Hacker Laws github.com · 10 points · 1 comments · HN thread

TL;DR A GitHub repository (dwmkerr/hacker-laws) that serves as a reference and overview of commonly discussed software development laws and principles, from Brooks' Law and Conway's Law to Kernighan's Law and the SOLID principles. Each entry gives a short explanation, its origin, examples and related reading, and the author stresses that the repo describes these laws without advocating them. The repo also links to a book, a hosted site, translations and a podcast episode.

  • Covers well-known observations such as Brooks' Law, Conway's Law, Hofstadter's Law, Goodhart's Law, Parkinson's Law, Hanlon's Razor and Gall's Law, plus the SOLID and DRY principles.
  • Each law gets a short explanation, a note on its origin (for example Brooks' The Mythical Man-Month or Eric Raymond's The Cathedral and the Bazaar), real-world examples and see-also links.
  • The author states the repo does not advocate any law and that whether to apply them is a matter of debate depending on the work.
  • Includes a worked example of Amdahl's Law, showing that a program 50% parallelisable gains little beyond about 10 processing units.
  • Invites contributions through pull requests and is translated into more than a dozen languages; the project may become a book.

Discussion The Hacker News thread has only one comment, a brief pointer to a command-line tool that prints pithy fortunes, including the Tao of Programming, which can be installed via Homebrew. The discussion is minimal and light in tone, with no debate about the laws themselves.

Links from the comments

#softwareEngineering #reference #programmingLaws #github #opensource