Notes for Eloquent Ruby
- C1 Write Code That Looks Like Ruby
- C2 Choose the Right Control Structure
- C3 Take Advantage of Ruby's Smart Collections
- C4 Take Advantage of Ruby's Smart Strings
- C5 Find the Right String with Regular Expressions
- C6 Use Symbols to Stand for Something
- C7 Treat Everything Like an Object - Because Everything Is
- C8 Embrace Dynamic Typing
- C9 Write Specs!
- C10 Construct Your Classes from Short, Focused Method
- C11 Define Operators Respectfully
- C12 Create Classes That Understand Equality
- C13 Get the Behavior You Need with Singleton and Class Method
- C14 Use Class Instance Variables
- C15 Use Modules as Name Spaces
- C16 Use Modules as Mixins
- C17 Use Blocks to Iterate
- C18 Execute Around with a Block
- C19 Save Blocks to Execute Later
*Codes from the book can be found in this git repo.