2 ms·
Poor cross-browser compatibility. You don't need flexbox and new CSS units to display a page with a single button. Javascript code doesn't handle connection err
by codedokode 7y ago
Poor cross-browser compatibility. You don't need flexbox and new CSS units to display a page with a single button. Javascript code doesn't handle connection errors and disconnects. The app by itself is completely useless and doesn't use a database or something to persist state, and cannot be used as a base for writing a real app. Node is a poor choice because it forces you to write asynchronous code and it is very inconvenient. Also, it is easy to leak memory in Node and I am not sure whether there are memory profilers for Node with GUI.
Also the article doesn't give any explanations, so the only thing it teaches is how to copy the code into the editor.
- dkarras 7y agoFlexbox has been supported pretty much everywhere for many many years. Same goes for the CSS units I could see. Which browsers were you thinking of? Async of Node is a feature, and you can write it like it is sync with async / await these days so there is nothing inconvenient about it (anymore - I used to hate callback hell back in the day).