by sourcecodeplz · 3y ago · 0 comments
It is very fast for me to start, test & itterate.
I've also tried Node but idk sometimes it can hugg memory and even crash, which just never happened with PHP.
It is a little sad but I don't really care anymore because I am not doing client work anymore.
Edit: just to add that I also never really could stand promises in async execution. Such a headache.
Edit 2: also can you believe it that with Node, the script is also the server??? Who in their right mind thought this was a good idea? Like when the script crashed, it crashed the whole app for everyone.
That is how most modern web systems operate. It's very rarely a problem, because decent error handling (built in to most frameworks) limits the scope of these sorts of issues to a single request. IIRC, all of the major Node.js HTTP frameworks will catch exceptions for you and respond with a generic 500; I'm not sure what sort of system you had where your errors were bubbling up further.