The Rules of Programming

The Rules of Programming
出版时间:2022.12
官网链接:O’Reilly
下载地址:百度网盘(PDF+EPUB)

内容简介:

This philosophy-of-programming guide presents a unique and entertaining take on how to think about programming. A collection of 21 pragmatic rules, each presented in a standalone chapter, captures the essential wisdom that every freshly minted programmer needs to know and provides thought-provoking insights for more seasoned programmers.

Author Chris Zimmerman, cofounder of the video game studio Sucker Punch Productions, teaches basic truths of programming by wrapping them in memorable aphorisms and driving them home with examples drawn from real code. This practical guide also helps managers looking for ways to train new team members.

The rules in this book include:

  • As simple as possible, but no simpler
  • Let your code tell its own story
  • Localize complexity
  • Generalization takes three examples
  • Work backward from your result, not forward from your code
  • The first lesson of optimization is don’t optimize
  • A good name is the best documentation
  • Bugs are contagious
  • Eliminate failure cases
  • Code that isn’t running doesn’t work
  • Sometimes you just need to hammer the nails

给TA买糖
共{{data.count}}人
人已赞赏
电子书

The Rust Programming Language, 2nd Edition

2023-2-2 23:09:41

电子书

Experimentation for Engineers

2023-2-22 23:30:06

搜索