Tbpgr Blog

Ruby プログラマ tbpgr(てぃーびー) のブログ

書籍 Confident Rubyに関するまとめ

概要

書籍 Confident Rubyに関するまとめ

補足

Confident Rubyは英書なのですが、自分の英語力が低いため分かりにくい日本語だったり、
本来の意味とずれているかもしれません。

一覧
概要 URL
Introduction メソッドの役割 http://d.hatena.ne.jp/tbpg/20140507/1399470061
Performing Work メソッドの作成手順 http://d.hatena.ne.jp/tbpg/20140507/1399470300
Performing Work メソッドの作成手順(レガシーや標準ライブラリの制約あり) http://d.hatena.ne.jp/tbpg/20140507/1399470358
Collecting Inputs 入力の種類 http://d.hatena.ne.jp/tbpg/20140507/1399470123
Collecting Inputs 入力の収集戦略 http://d.hatena.ne.jp/tbpg/20140507/1399470187
Collecting Inputs 明示的変換と暗黙の変換(explicit conversion and implicit conversion) http://d.hatena.ne.jp/tbpg/20140507/1399470236
Collecting Inputs Use built-in conversion protocols http://d.hatena.ne.jp/tbpg/20140508/1399563788
Collecting Inputs Conditionally call conversion methods http://d.hatena.ne.jp/tbpg/20140508/1399563849
Collecting Inputs Define your own conversion protocols http://d.hatena.ne.jp/tbpg/20140508/1399564007
Collecting Inputs Define conversions to user-defined types http://d.hatena.ne.jp/tbpg/20140508/1399564053
Collecting Inputs Use built-in conversion functions http://d.hatena.ne.jp/tbpg/20140508/1399564112
Collecting Inputs Define conversion functions http://d.hatena.ne.jp/tbpg/20140508/1399564160
Collecting Inputs Replace "string typing" with classes http://d.hatena.ne.jp/tbpg/20140508/1399564952
Collecting Inputs Wrap collaborators in Adapter http://d.hatena.ne.jp/tbpg/20140509/1399646712
Collecting Inputs Use transparent adapters to gradually introduce abstraction http://d.hatena.ne.jp/tbpg/20140509/1399646746
Collecting Inputs Reject unworkable values with preconditions http://d.hatena.ne.jp/tbpg/20140509/1399646780
Collecting Inputs Use #fetch to assert the presence of Hash keys http://d.hatena.ne.jp/tbpg/20140509/1399646830
Collecting Inputs Use #fetch to assert the presence of Hash keys http://d.hatena.ne.jp/tbpg/20140512/1399896446
Collecting Inputs Use #fetch for defaults http://d.hatena.ne.jp/tbpg/20140512/1399896521
Collecting Inputs Document assumptions with assertions http://d.hatena.ne.jp/tbpg/20140512/1399896604
Collecting Inputs Handle special cases with Guard Clause http://d.hatena.ne.jp/tbpg/20140512/1399896695
Collecting Inputs Represent special cases as Object http://d.hatena.ne.jp/tbpg/20140512/1399896784
Collecting Inputs Represent do-nothing cases as null objects http://d.hatena.ne.jp/tbpg/20140513/1399984482
Collecting Inputs Substitute a benign value for nil http://d.hatena.ne.jp/tbpg/20140513/1399984558
Collecting Inputs Use symbols as placeholder object http://d.hatena.ne.jp/tbpg/20140513/1399984655
Collecting Inputs Bundle arguments into parameter object http://d.hatena.ne.jp/tbpg/20140513/1399984789
Collecting Inputs Yield a parameter builder object http://d.hatena.ne.jp/tbpg/20140513/1399984826
Collecting Inputs Receive policies instead of data http://d.hatena.ne.jp/tbpg/20140513/1399984914
Delivering Result Write total functions http://d.hatena.ne.jp/tbpg/20140514/1400072193
Delivering Result Call back instead of returning http://d.hatena.ne.jp/tbpg/20140514/1400072245
Delivering Result Represent failure with a benign vlaue http://d.hatena.ne.jp/tbpg/20140514/1400072321
Delivering Result Represent failure with a special case object http://d.hatena.ne.jp/tbpg/20140514/1400072382
Delivering Result Return Status Object http://d.hatena.ne.jp/tbpg/20140514/1400072472
Delivering Result Yield Status Object http://d.hatena.ne.jp/tbpg/20140514/1400072529
Handling Failure Prefer top-level rescue clause http://d.hatena.ne.jp/tbpg/20140514/1400072585
Handling Failure Use checked methods for risky operations http://d.hatena.ne.jp/tbpg/20140514/1400072608
Handling Failure Use bouncer method http://d.hatena.ne.jp/tbpg/20140515/1400159247

参照

Confident Ruby: 32 Patterns for Joyful Coding (English Edition)

Confident Ruby: 32 Patterns for Joyful Coding (English Edition)