- Borrow the book is better than buy the book. I finally finished reading this book in past 3 weeks' limited spare time.
- Programs are meant to be read by humans and only incidentally for computers to execute. - Donald Knuth
- Need consistent Javascript code styles for Basic formatting, comments, statements and expressions, variables, functions and operators.
- Need good programming practices
- Loose coupling of UI layers (MVC)
- Avoid globals
- Throw your own errors (throw new Error('name is required'))
- Don't modify objects you don't own
- Documentation - JSDoc tooltik
- Automated Testing - Jasmine, PhantomJS, Selenium
- Continous Integration (CI system) - Jenkins, Continuum, BuildBot, Cruise Control, Gradle
Saturday, September 6, 2014
Maintainable Javascript
Key takeaways from Maintainable Javascript.
Labels:
javascript
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment