O'Reilly logo
  • cades Kao thinks this is interesting:

Each error message is a small thing, but small things accumulate to produce big effects and it is this attention to detail that marks you as a serious programmer. Always document template method requirements by implementing matching methods that raise useful errors.


Cover of Practical Object-Oriented Design in Ruby: An Agile Primer


特別強調 error message ,這跟 GOOS 的立場完全一致。差別在,poodr指的是「production code要留下清楚的 error message」,GOOS指的是「test code assertion 要產生清楚的 error message」