Hacker GitHub

← All repos

dwmkerr/hacker-laws

View on GitHub ↗ ★ 27,324 HTML

🧠 Laws, Theories, Principles and Patterns for developers and technologists.

58 mentions on Hacker News by 28 people: 36 stories, 22 comments · first 2019-05-14 · latest 2026-07-30

Mentions per year 58 mentions · busiest year 2019 (18)
20082026
  1. I know that as Kernighan's Law. Seems to be something that seniors learn over time. https://github.com/dwmkerr/hacker-laws#kernighans-law "Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're…
    comment by jpollock · 2026-07-30 · in Logic for Programmers
  2. Is it not the same as https://github.com/dwmkerr/hacker-laws ?
    comment by vpol · 2026-04-21 · in Laws of Software Engineering
  3. …as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian Kernighan https://github.com/dwmkerr/hacker-laws#kernighans-law
  4. Tracking now https://github.com/dwmkerr/hacker-laws/issues/448
    comment by dwmkerr · 2025-03-31 · in Hacker Laws
  5. on this list to go in: https://github.com/dwmkerr/hacker-laws/issues/446
    comment by dwmkerr · 2025-03-31 · in Hacker Laws
  6. In case somebody comes looking for the working link: https://github.com/dwmkerr/hacker-laws/releases/download/v0....
    comment by carlesfe · 2025-03-30 · in Hacker Laws
  7. To the author: "Download the PDF eBook" link https://github.com/dwmkerr/hacker-laws/releases/download/v0.... is broken
    comment by bookofjoe · 2025-03-30 · in Hacker Laws
  8. Link directly to Kernighan’s law in the repo: https://github.com/dwmkerr/hacker-laws#kernighans-law
  9. ▲ 1
    Kernighan's Law: You are not smart enough to debug(2020)
    story by Willingham · 2025-02-15 · 1 comment
  10. ▲ 1
    Hacker Laws
    story by ioxnav · 2024-07-12 · 0 comments
  11. Also see https://github.com/dwmkerr/hacker-laws?tab=readme-ov-file#th...
  12. ▲ 3
    Hacker Laws
    story by Olshansky · 2023-09-02 · 0 comments
  13. ▲ 3
    Hacker Laws
    story by atulatul · 2023-08-31 · 1 comment
  14. …those who understand what they do not manage and those who manage what they do not understand. https://github.com/dwmkerr/hacker-laws#putts-law The underlying reason for Putt's law is the finite space of the human cranium and finite hours…
    comment by yshrestha · 2022-09-27 · in A CTO should be technical
  15. This is great, thank you! For reference (and for other great laws): https://github.com/dwmkerr/hacker-laws#goodharts-law
  16. …the world a little better during this time here. "Always leave the code better than you found it." https://github.com/dwmkerr/hacker-laws#the-scout-rule Please let's not derail this conversation into religious debate here. I love talking…
    comment by peterburkimsher · 2022-05-16 · in How I Started to See Trees as Smart
  17. Relevant xkcd: https://xkcd.com/1172/ Googling the xkcd also led me to this: https://github.com/dwmkerr/hacker-laws/
    comment by throwamon · 2022-02-05 · in The Infinite Loop That Wasn't (2020)
  18. …to get the right answer on the Internet is not to ask a question, it's to post the wrong answer. https://github.com/dwmkerr/hacker-laws#cunninghams-law Culture list from https://github.com/peterburk/sortlikes based on a manual…
  19. …to get the right answer on the Internet is not to ask a question, it's to post the wrong answer." https://github.com/dwmkerr/hacker-laws#cunninghams-law If that is so, then is it possible to generate UV-C light with a wavelength of 100 nm?
  20. …you go. Always leave the code (and world) better than you found it. (Robert C. Martin (Uncle Bob)) https://github.com/dwmkerr/hacker-laws#the-scout-rule
  21. ▲ 270
    Hacker Laws
    story by maltalex · 2022-01-01 · 44 comments
  22. ▲ 1
    Hacker Laws
    story by maltalex · 2021-12-01 · 0 comments
  23. ▲ 3
    Gall's Law
    story by noworriesnate · 2021-11-30 · 1 comment
  24. ▲ 14
    Hacker Laws
    story by MakisH · 2021-10-01 · 0 comments
  25. …"The Elements of Programming Style", where it was worded the way it's quoted in the article. [1]: < https://github.com/dwmkerr/hacker-laws#kernighans-law >
    comment by yakubin · 2021-03-25 · in Programming quotes
  26. ▲ 2
    Hacker Laws – The Dunning Kruger Effect
    story by dwmkerr · 2020-12-03 · 0 comments
  27. …this isn't the canonical source, then improve the list by submitting issues and/or pull-requests! - https://github.com/dwmkerr/hacker-laws
    comment by smoyer · 2020-09-25 · in Ask HN: What Are the Laws of Software?
  28. ▲ 3
    Hacker Laws – All models are wrong, but some are useful
    story by dwmkerr · 2020-09-23 · 0 comments
  29. ▲ 2
    Hackerlaws – The Shirky Principle – Institutions try to preserve the problem
    story by dwmkerr · 2020-09-09 · 0 comments
  30. …you allowed a client you don’t own to depend on behavior you didn’t specify. (See Hyrum’s Law: https://github.com/dwmkerr/hacker-laws#hyrums-law-the-law-of... ). By limiting the scope of unspecified behaviors, you also limit the scope of…
  31. ▲ 1
    Hacker Laws – Chesterson's Fence
    story by dwmkerr · 2020-07-02 · 0 comments
  32. ▲ 1
    Hacker Laws – Linus' Law
    story by dwmkerr · 2020-06-22 · 0 comments
  33. ▲ 2
    Hacker Laws – Fitts' Law
    story by dwmkerr · 2020-06-05 · 0 comments
  34. ▲ 3
    Hacker Laws – CAP Theorem / Brewer's Theorem
    story by dwmkerr · 2020-06-01 · 0 comments
  35. Url changed from https://github.com/dwmkerr/hacker-laws#the-dead-sea-effect , which points to this. Please follow the site guidelines. Note this one: " Please submit the original source. If a post reports on something found on another…
  36. This one is amazing: https://github.com/dwmkerr/hacker-laws#kernighans-law > Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart…
  37. Here is the direct url to the "Dead Sea Effect": https://github.com/dwmkerr/hacker-laws/blob/master/README.md...
  38. ▲ 3
    Hacker Laws: The 90-9-1 Principle
    story by dwmkerr · 2020-03-23 · 0 comments
  39. ▲ 289
    Kernighan's Law: You are not smart enough to debug it
    story by dwmkerr · 2020-02-17 · 153 comments
  40. ▲ 4
    Hacker Laws Update: Occam's Razor
    story by dwmkerr · 2020-01-07 · 0 comments
  41. ▲ 1
    Hacker Laws Update – The Broken Windows Theory
    story by dwmkerr · 2019-12-10 · 0 comments
  42. ▲ 203
    Hacker Laws: Theories, principles and patterns that developers will find useful
    story by dwmkerr · 2019-11-22 · 27 comments
  43. ▲ 5
    Hacker Laws Update: The Fallacies of Distributed Computing
    story by dwmkerr · 2019-11-07 · 0 comments
  44. ▲ 92
    Laws, theories, principles and patterns that developers might find useful
    story by signa11 · 2019-11-04 · 10 comments
  45. ▲ 3
    Hacker Laws Update: Metcalfe's Law
    story by dwmkerr · 2019-11-04 · 0 comments
  46. ▲ 3
    Hacker Laws Update – Reed's Law: The Utility of Large Networks
    story by dwmkerr · 2019-10-29 · 0 comments
  47. ▲ 1
    Cunningham's Law: The best way to get the right answer on the Internet is
    story by dwmkerr · 2019-09-23 · 0 comments
  48. ▲ 3
    The Dilbert Principle: Companies tend to systematically promote incompetent to
    story by dwmkerr · 2019-08-21 · 0 comments
  49. ▲ 1
    Hacker Laws: People in a hierarchy tend to rise to their level of incompetence
    story by dwmkerr · 2019-08-13 · 0 comments
  50. ▲ 1
    Hacker Laws Update: Murphy's Law / Sod's Law
    story by dwmkerr · 2019-07-22 · 0 comments