Upload
radu-iscu
View
140
Download
2
Tags:
Embed Size (px)
Citation preview
Enki.jsLessens learned while writing a libray
Ok, so what is it?
Why did I write it?
I disliked existing libraries
Disillusioned with my work
Bored
Wanted to see if I could do it
Design philosophy
For modern browsers (IE9+)
No boilerplate code
No boilerplate code
No code in the view
Keep it simple
Keep it simple
Keep it simple
Keep it small
Keep it small
No defensive programming
Things I’ve learned
TDD is fun when not at work
TDD is fun when not at work
Big things with little code
JavaScript is seriously powerful
Dynamic types + functional = 💣
Dynamic types + functional = 💣
Feedback is hard to come by
Scope creep
Documentation is harder than it should be
Things that it’s missing
Speed tests
Memory tests
Async loading
Questions?
Links
Enki.js:https://github.com/linkerro/enki.js
TodoMVC implementation in enki: https://github.com/linkerro/todomvc/tree/master/examples/enki