Famous laws of

Software development

Famous laws

  • Murphy's Law
  • Brook's Law
  • Hofstadter's Law
  • Conway’s Law
  • Postel's Law aka Robustness principle
  • Pareto Principle
  • The Peter Principle
  • Kerchkhoff's Principle
  • Linus's Law
  • Moore's Law
  • Wirth's law
  • Ninety-ninety (90-90) rule
  • Knuth's optimization principle

Murphy's Law

If something can go wrong, it will

Nếu một tình huống xấu có thể xảy ra, thì nó sẽ xảy ra

  • You never find a lost article until you replace it
  • Smile. Tomorrow will be worse
  • Left to themselves, things tend to go from bad to worse
  • Tell a man there are 300 billion stars in the universe and he'll believe you. Tell him a bench has wet paint on it and he'll have to touch to be sure
  • Things get worse under pressure

Brook's Law

Adding manpower to a late software project makes it later

Gia tăng nhân lực cho một dự án chậm tiến độ càng làm nó chậm tiến độ hơn

Hofstadter's Law

It always takes longer than you expect, even when you take into account Hofstadter's Law

Ngay cả khi bạn đã ý thức được điều này, thì mọi việc vẫn luôn mất nhiều thời gian hơn bạn dự tính

  • I'll have time to do it later => always  start ASAP
  • Plan for the Worst
  • Plan Out EVERYTHING

Conway’s Law

Any piece of software reflects the organizational structure that produced it

Bất kỳ phần mềm nào cũng đều phản ánh đúng cấu trúc của tổ chức tạo ra nó

  • Alignment

  • Collaboration

Postel's Law aka Robustness principle

Be conservative in what you send, be liberal in what you accept

 

Cẩn trọng với những gì gửi đi, rộng rãi với những gì nhận lại

Pareto Principle aka The 80-20 rule

For many phenomena, 80% of consequences stem from 20% of the causes

 

80% hậu quả phần lớn đến từ 20% nguyên nhân

The Peter Principle

In a hierarchy, every employee tends to rise to his level of incompetence

 

Trong một sơ đồ tổ chức, mọi nhân viên đều có xu hướng thẳng tiến đến một ngưỡng mà họ không thể phát triển thêm được nữa

Kerchkhoff's Principle

In cryptography, a system should be secure even if everything about the system, except for a small piece of information - the key - is public knowledge

Một hệ thống mã hóa phải an toàn ngay cả khi tất cả thông tin về hệ thống đó đều đã được công bố ra ngoài. Bí mật duy nhất của hệ thống là một khóa ngắn.

Linus's Law

Given enough eyeballs, all bugs are shallow

 

Quan sát đủ kỹ, tìm bug khó gì

Moore's Law

The power of computers per unit cost doubles every 24 month

Số lượng transistor trên mỗi mạch tích hợp sẽ tăng lên gấp đôi sau mỗi 18 tháng

The number of transistors on an integrated circuit will double in about 18 months.

 

Wirth's law

Software gets slower faster than hardware gets faster

Tốc độ phát triển của phần cứng không bằng tốc độ thoái hóa của phần mềm

Ninety-ninety (90-90) rule

The first 90% of the code takes 10% of the time. The remaining 10% takes the other 90% of the time

 

Bạn chỉ cần 10% thời gian để code 90% phần đầu, 10% còn lại chiếm đến 90% thời gian của bạn

Knuth's optimization principle

Premature optimization is the root of all evil

 

Tối ưu hóa sớm là căn nguyên của mọi tội ác

Cunningham's

law

Famous laws of Software development

By Chau Pham

Famous laws of Software development

  • 438