Skip to content

Instantly share code, notes, and snippets.

@r05al
Last active November 14, 2016 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r05al/8fa3e800a7e5113b262139ed9c944bdc to your computer and use it in GitHub Desktop.
Save r05al/8fa3e800a7e5113b262139ed9c944bdc to your computer and use it in GitHub Desktop.
Philisophy of Ruby
to emphasize feeling
orthogonality, simplifing through combining and reducing exceptions
- does not promote readability, understanding
many ways to do one thing
concise and succinct, like pseudo code that runs
express intent to computers to work for humans
minimize suprise, fewer nuances
Methods
collect input, do work, return value, handle errors
Strong Messages
foundation of OO system, sending messages to objects
id message intent, id corresponding roles, method logic uses objects of those roles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment