4 ms·
same with node.js I fail to understand why someone would want to deal with javascript callback chains on the server side to build simple websites. Even some cli
by notastartup 12y ago
same with node.js I fail to understand why someone would want to deal with javascript callback chains on the server side to build simple websites. Even some clients are convinced that somehow their application will run faster.
Even front-end frameworks like Backbone.js doesn't make sense to me. I still find using jQuery more than adequate.
- vertex-four 12y agonode.js is useful for some specific things - specifically, doing real-time "plumbing" between data sources and sinks. There's a huge amount of libraries and support for doing that, that doesn't really exist in other communities.
- general_failure 12y agoSo what do you use to build simple websites on the backend? There are bad programmers and bad programming practices for every language. If you see code that has 5 levels of nested callback chains, it's only because people don't know how to write code. Have you see chromium code? It's filled with callback in c++. All this is nothing new.
- notastartup 12y agoInteresting, so what do you use to avoid nested callback chains? Use a workaround library? This just seems like brute force. I don't think you are required to use asynchronous callbacks in C++ to do anything, while in Node.js you are almost guaranteed to doing this. Why would you write a CRUD app using Node.js when you can accomplish this in multitude of other well established methods? LAMP, Java, Python etc. Nothing wrong with experimenting but for real world needs, there's no clear answer as to why you would need Node.js to redo what you used to do.
- akbar501 12y ago> I fail to understand why someone would want to deal with javascript callback chains on the server side to build simple websites. I use Node/JS on the server b/c I'm hyper productive with it. Like all languages/frameworks/runtimes there are issues. But the speed of development is what keeps me on Node, despite the fact that other languages do not share some of the same weaknesses as JS.
- notastartup 12y agointeresting I'm on Python because I'm very productive with it and I'm coming from Node.js.