es6katas.org - an introduction and the story behind

Post on 08-Aug-2015

325 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

ES6Katas.org

by

@WolframKriesing

https://twitter.com/oncletom/status/609461522545385472

http://www.ecma-international.org/ecma-262/6.0/

const his = it;his('identity', () => {const [firstName, lastName, company] =

'Wolfram Kriesing uxebu'.split(' ');

assert.equal(firstName, 'Wolfram');assert.equal(lastName, 'Kriesing');assert.equal(company, 'uxebu');});

const youCan = it;youCan('find me', () => {

const [url, twitter] ='uxebu.com,@WolframKriesing'.split(',');

assert.equal(url, 'uxebu.com');assert.equal(twitter, '@WolframKriesing');

});

const me = it;me('runs', () => {const [,...runs] =('uxebu,es6katas.org,tddbin.' +'com,jsCodeRetreat').split(',');

assert.deepEqual(runs, ['es6katas.org','tddbin.com','jsCodeRetreat'

]);});

{what: „ready to use TDD env“,

why: „practice, practice, practice“,

url: „http://TDDbin.com“,twitter: „@tddbin“

}

{what: „TDD, pairing, clean code“,

when: „every 3 months“,next: „5th September 2015“,

url: „http://jsCodeRetreat.com“,twitter: „@jsCodeRetreat“

}

ECMAScript 6forreal

Photo by tranchis - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/25813335@N00 Created with Haiku Deck

Photo by bogdog Dan - Creative Commons Attribution-NonCommercial License https://www.flickr.com/photos/25689440@N06 Created with Haiku Deck

Photo by aquababe - Creative Commons Attribution-NonCommercial License https://www.flickr.com/photos/25138992@N00 Created with Haiku Deck

Traceur

Photo by Luz Adriana Villa A. - Creative Commons Attribution License https://www.flickr.com/photos/11599314@N00 Created with Haiku Deck

Photo by Hindrik S - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/63991153@N00 Created with Haiku Deck

Photo by droetker0912 - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/58020577@N06 Created with Haiku Deck

Sep

2014long time ago, in tech

https://github.com/uxebu/mocha-sinon-traceur-example

WHY ES6

at all?

https://gist.github.com/wolframkriesing/ab6d82024aec7068382a

ENOUGHreason

but there is looooooots more

YOUREAD

TOO?

TDD

http://www.uky.edu/~eushe2/Bandura/Bandura1981JPSP.pdf

ES6Katas.org

IMPORTS

LET’S

GO LIVE

import iPhones from 'China';

import assert from 'assert';

LIVEcoding

http://tddbin.com/#?kata=es6/language/modules/import

http://tddbin.com/#?kata=es6/language/iterator/protocol

your learning

ES6Katas.org

by

@WolframKriesing

top related