電腦科學名人名言

weixin_33670713發表於2018-08-09

Martin Fowler

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

Sean Parent

Good code is short, simple, and symmetrical—the challenge is figuring out how to get there.

Steve McConnell

Good code is its own best documentation. As you’re about to add a comment, ask yourself, “How can I improve the code so that this comment isn’t needed?”

Linus Torvalds

Bad programmers worry about the code. Good programmers worry about data structures and their relationships.

Phil Karlton

There are only two hard problems in Computer Science: cache invalidation and naming things.

Alan J. Perlis

There are two ways to write error-free programs; only the third works.

It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.

Dave Thomas and Andrew Hunt

Test your code, or your users will.

David Wheeler

Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem.

Michael Feathers

Object-oriented programming makes code understandable by encapsulating moving parts. Functional programming makes code understandable by minimizing moving parts.

Tom Cargill

The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.

Hannes Dorfmann

Inheritance doesn’t scale well! Use inheritance for inheriting properties but not for inheriting functionality! Mixins are better suited for “inheriting” functionality.

Neal Ford

Life's too short for malloc.

Harold Abelson

Programs must be written for people to read, and only incidentally for machines to execute.

相關文章