close modal
icon node

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

Find us

London - HQ

9 Dallington Street

London

EC1V 0LN

+44(0) 203 514 4678

hello@yld.io

Lisbon

Rua Ramalho Ortigão 8

3º Esquerdo

1070-230

Lisboa

Porto

Rua Sá da Bandeira 819

2º Esquerdo

4000-438

Porto