Skip to content

hacker-laws-zh

A Chinese-language collection of well-known laws, principles and patterns that programmers often cite.

Stars
12.5k
Forks
1k
Licence
MIT
Language
—
Last update
3.4 years ago
Type
Learning resource

No commits in over a year — check for forks or alternatives before adopting.

What it is

This is a Chinese translation of the hacker-laws project. It collects named ideas from software and computing, such as Brooks's Law, CAP Theorem, Conway's Law and SOLID, and explains each with a short description, examples and links to Wikipedia and related entries. The README notes that it describes these ideas without endorsing any of them.

  • Look up the meaning of a named principle such as YAGNI or the DRY principle before a code review
  • Find a short explanation of the CAP theorem to discuss trade-offs in a distributed system design
  • Use the reading list section to choose books for further study
  • Share the Conway's Law or Brooks's Law entries as talking points in team discussions

Great for

  • Developers who read Chinese and want an overview of common software design ideas
  • Students learning computer science concepts such as CAP theorem or the SOLID principles
  • Team leads looking for shared vocabulary about project management and organization effects
  • Readers who want reference links to original English and Chinese Wikipedia articles

Not ideal for

  • Readers who need working code or tools, since this is a text reference with no software to run
  • People who read only English, because the main content is translated into Chinese (the original is hacker-laws)
  • Readers expecting step-by-step guidance, as each entry explains an idea rather than teaching a skill
Step-by-step guide: how to use hacker-laws-zhInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Read it online

    Clone the repository

    git clone https://github.com/nusr/hacker-laws-zh
  2. 2

    Run it

    • Open the repository on GitHub at https://github.com/nusr/hacker-laws-zh
    • Read the README and browse the 定律 (laws) and 原则 (principles) sections
    • Follow the links to Wikipedia pages for topics you want to explore further
  3. 3

    Get the most out of it

    • Compare the Chinese entries with the original English project hacker-laws, linked in the README
    • Use the table of contents links to jump between related entries such as Pareto Principle and 1% Rule
    • Read the 阅读清单 (reading list) section for books cited in the entries

Downloads

Strengths

  • Covers many widely cited ideas in one place, organized by laws, principles and reading lists
  • Each entry links to English and Chinese Wikipedia pages and cites examples where available
  • MIT licensed and widely starred, so it is free to read and share

Trade-offs

  • The README is truncated in the provided text, so the full list of entries and sections could not be verified here
  • Last push was 2023-06-06, so recent changes or newer laws may not be included
  • Some entries contain TODO links, and the README marks some topics as unfinished translations

How it compares

ProjectStarsTypeLevelUpdatedBest for
hacker-laws-zh (this)12.5kLearning resourcebeginner3.4 years agoDevelopers who read Chinese and want an overview of common software design ideas
clean-code-javascript94.7kLearning resourcebeginner2.3 years agoDevelopers who want to improve the readability of their JavaScript code
chinese-poetry54kLearning resourcebeginner5 months agoDevelopers building poetry apps, websites, or learning tools
chinese-xinhua11.7kLearning resourcebeginner2.9 years agoDevelopers building Chinese word games such as idiom chains
app-ideas98.4kCurated listbeginner1.1 years agoBeginners looking for practice projects to build after learning HTML, CSS, and JavaScript
chinese-copywriting-guidelines15.8kCurated listbeginner25 days agoChinese-language writers and editors who mix Chinese with English terms or numbers

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.