4 ms·
Any examples of Node being faster to write than Go? Did this have anything to do with the plethora of npm packages available?
by jtdev 6y ago
Any examples of Node being faster to write than Go? Did this have anything to do with the plethora of npm packages available?
- murukesh_s 6y agoSeveral use cases, of course more number of npm packages also easier concurrency, much more shorter syntax for async/promises, with ES6 you get closer to functional programming like map reduce etc. Also you can add or escape typing using Typescript. Single threaded architecture is a boon and good fit for web app middlewares. In golang sometimes you have to work too hard to get typings correct, concurrency is not straight forward in my view and error handling requires lot of repetitive code etc and of course lesser number of packages and difficult to hire developers.
- jtdev 6y ago> "easier concurrency" In Node??? Have you actually written any Go code?