DEV Community

Discussion on: What are the suggestions you'll tell to a person who started learning Node?

Collapse
 
bgalvao profile image
Bernardo

avoid callback hell with async / await. Why? It brings a 'synchronous' look to the code, making it easier to reason with.

One important distinction to make is, unlike most programming langs, node is async by default! (people, feel free to correct me, it's sth I am still confused by)

Collapse
 
sathish profile image
Sathish • Edited

The description in nodejs.org is clear.

Collapse
 
bgalvao profile image
Bernardo

hahaha I never checked it. The moral of this story is, be humble when jumping into a new lang even if you have programmed heaps before.