Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The JavaScript Software Factory

The JavaScript Software Factory

A talk I gave at ForwardJS March 1, 2017.

Chris Castle

March 01, 2017
Tweet

More Decks by Chris Castle

Other Decks in Programming

Transcript

  1. Simplicity is a great virtue but it requires hard work

    to achieve it and education to appreciate it. - E.W. Dijkstra
  2. 1 { 2 "name": "js-software-factory-samples", 3 "version": "1.0.0", 4 "description":

    "Sample codez!", 5 "main": "index.js", 6 "author": "Chris Castle", 7 "license": "MIT", 8 "dependencies": { 9 "left-pad": "^1.1.3" 10 }, 11 "devDependencies": { 12 "gulp": "^3.9.1" 13 } 14 }
  3. 1 const debug = require('debug')('http') 2 const http = require('http')

    3 4 http.createServer((req, res) => { 5 debug(`${req.method} ${req.url}`) 6 res.end('hello\n') 7 }).listen(3000, () => { 8 debug('listening'); 9 })