3 ms·
> I don't get how any of those are the "Node way", any more than they are the "Rails way" or the "Python way", or even the "PHP way" these days. Well, they're
by Touche 13y ago
> I don't get how any of those are the "Node way", any more than they are the "Rails way" or the "Python way", or even the "PHP way" these days.
Well, they're specific to Node and therefore have to be learned, to some extent.
There's also a million other things, some little some big. Little -> knowing that the first argument of a callback is an error. Big -> Understanding Streams. Medium -> the use of small modules, knowing when to break up a file into smaller modules, knowing when to break up a project into many modules, etc.
- ulisesrmzroche 13y ago'directory/index.js' is another of those. Also, module.exports. Bigger would be like knowing that express has one hoof at the glue factory because koa is bringing mad generators. Also, there's just some stuff you know when you're working with Node all day. Same thing with every profession and specialities. If you work in Rails all day, your'e going to know a hell of a lot more about it than me. I can't just pick up what you know in a weekend.