Forgiveness and mercy
You forgive those who have done you wrong. You always give people a second chance. Your guiding principle is mercy and not revenge.
Humor and playfulness
var Cart = function(storedItems) { | |
var items = storedItems || {}; | |
this.add = function(item, sku) { | |
var storedItem = items[sku]; | |
if (storedItem == undefined) { | |
storedItem = items[sku] = {quantity: 0, item: item} | |
} | |
storedItem.quantity += 1; | |
}; |
console.log("external1 before/" + document.readyState); | |
document.write("hello again, world"); | |
console.log("external1 after/" + document.readyState); |
/** | |
* This is a straightforward implementation of The Game of Life | |
* See http://en.wikipedia.org/wiki/Conway's_Game_of_Life | |
*/ | |
package life | |
/* | |
* A field where cells live. Effectively immutable | |
*/ | |
class Field( |
I hereby claim:
To claim this, I am signing this object:
For each Ruby module/class, we have Ruby methods on the left and the equivalent | |
Clojure functions and/or relevant notes are on the right. | |
For clojure functions, symbols indicate existing method definitions, in the | |
clojure namespace if none is explicitly given. clojure.contrib.*/* functions can | |
be obtained from http://github.com/kevinoneill/clojure-contrib/tree/master, | |
ruby-to-clojure.*/* functions can be obtained from the source files in this | |
gist. | |
If no method symbol is given, we use the following notation: |