Skip to content
sgml edited this page Dec 8, 2017 · 1473 revisions

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

Clone this wiki locally