Scott Motte (@scottmotte) is a hacker who works with a number of different languages. Node.js has been a recent favorite, which is why I asked him to share his thoughts as a guest on our Voices series. He’s a Developer Evangelist at email company SendGrid (where we previously worked together). He’s often introducing developers to new technologies and good community practices. He touches on both in the following discussion.
OK, first off, you love Node. Why?
And I like that Node does that because ultimately it brings new people to the server-side world. It brings beginners and it brings artists. And that diversity is good.
If someone is brand new to Node, how do you suggest they get started?
Create a hello-world app using the Node.js web framework express. Literally, follow the first section guide here. You’ll very quickly – more than any other server-side language – having a working website.
Should I use a Node framework? If I use one, which do you recommend?
You maintain the SendGrid Node library. Any tips for someone writing an API client in Node?
Document your methods in the README as you build. And use another library’s repo as an example to more quickly set your own up. This is a good example of that.
A bit. As a pilot you’re often consulting checklists – it’s part of the culture. You run through a checklist before you take off, you run through one before you land, you run through one before you taxi to the runway, and many more. I run through a checklist before I deploy a new version of a node library up to npm. This is really attributable to any language though.