Website:
https://www.lurklurk.org/effective-rust/intro.html
Introduction
“The code is more what you’d call ‘guidelines’ than actual rules.” – Hector Barbossa
代码更多的是你所说的’准则’,而不是实际的规则。
Scott Meyers’ original Effective C++ book was phenomenally successful because it introduced a new style of programming book, focused on a collection of guidelines that had been learned from real world experience of creating software in C++. Significantly, those guidelines were explained in the context of the reasons why they were necessary – allowing the reader to decide for themselves whether their particular scenario warranted breaking the rules.
Scott Meyers最初的《Effective C++》一书取得了巨大的成功,因为它引入了一种新的编程书的风格,专注于从用C++创建软件的真实世界经验中学习到的准则集合。重要的是,这些准则被解释为有必要的理由—允许读者自己决定他们的特定场景是否需要打破规则。