DEV Community

Discussion on: Automating Your Node Workflow with Gulp and Nodemon

Collapse
antonk52 profile image
Anton Kastritskiy

I believe at this point it would make sense to use es6 syntax at least on the server side, use const when defining modules as those will stay the same throughout your logic and arrow functions for tasks' callbacks. Maybe this is my personal preference, but I believe using const at least can prevent a newcomer from accidentally redefining a module later on