-
Notifications
You must be signed in to change notification settings - Fork 6
Utmost Simplicity
"To get portable data, you need to pick a representation that is usable in most programming languages" "To get portable behavior, you need a maintainable program standard that runs on most computer systems"
Imperative
if (x == 7 && y == 7)
Declarative
select * from x, y where num = 7
Interrogative
var num = new Map(); num.set({7:"x,y"}, num.foo) num.get({7:"x,y"})
Imperative
if (num.hasOwnProperty(7)) { num.foo = Function; num.toJSON = num.foo }
Declarative
var num = {7:"x,y", toJSON: num.foo};
Interrogative
num.has(7) && num.has(toJSON) && num.size()
Imperative
Bring back real hiphop
Declarative
Hiphop is dead
Interrogative
Who killed hiphop?
Narrative
Back in the day...
Authoritative
Only God Can Judge Me
Imperative
Array.push/Array.pop/Array.sort/Array.join
Declarative
Array.concat/Array.from
Interrogative
Array.indexOf / Array.some / Array.every
Imperative
Set.add / Set.delete / Set.clear
Declarative
new Set()
Interrogative
Set.has / Set.size /
Narrative
RegExp
Authoritatize
Object.defineProperty
WHO CAN COME AFTER HIM?
Templating - SSI/ESI
Data Binding - Excel / URI Templating
Theming - Image Maps / fonts / data:URIs
Debugging - Greasemonkey / eval
Coding - Emmet / JSLint / XHTML5
Documenting - Markdown
Visualizing - HTML5 Canvas