News for hackers. Stuff that matters.
Re:Hard-won lessons: Five years with Node.js by chrisco255 on Wednesday April 19, 2017 @10:45PM (#14153533)
It's very valuable if you are bouncing back and forth between frontend and backend. There's no context switching as you do that. The cognitive overhead of context switching is higher than people generally accept. This is why stacks like the MEAN/MERN stack get used in hackathons. You've got a JSON-inspired database (Mongo) with a minimal server-side framework (Express) feeding a React/Angular front-end. You can use the same libraries client/server side like Mocha for unit testing, Lodash for collection manipulations, you can even share the same validation files for server & client.
Re:Hard-won lessons: Five years with Node.js by mgkimsal on Wednesday April 19, 2017 @11:55PM (#14153814)
"There's no context switching as you do that"

So, you just read/write to a database wherever? Or do you have to remember the context the code is running in?

There may not be syntax switching, but I think you stil usually need to remember where the code in question will be executing (well... I need to, anyway)