Node.js anti-patterns training
Get your team identifying the common pitfalls when building Node.js and server-side JavaScript applications, and therefore increasing the code quality and maintainability of your systems
Level
Intermediate
Pre-requisites
Solid understanding of JavaScript and Node.js
Pre-requisite Courses
Node.js fundamentals
JavaScript
- Abusing var arguments
- Callback hell
- Overuse of classes
- Poor use of modularity
- Using a long list of arguments instead of options
- Using strings instead of error objects
- Wrapping file modules with an iife
Node.js
- Changing require
- Global modules
- Ignoring errors on callbacks
- Kitchen sink module
- Monolithic applications
- No propagation of stream errors
- Synchronous execution
Testing
- Little or no tests
- Testing at the wrong level
Performance
- Large denormalized documents
- Not using parallel exec
- Not using streams
- Performing cpu-heavy work
- Using async without limit