3 ms·
It's popular so it's fine? The massive number of async-related workarounds, libraries, tooling and code practices says otherwise. jQuery is even more popular bt
by manigandham 7y ago
It's popular so it's fine? The massive number of async-related workarounds, libraries, tooling and code practices says otherwise. jQuery is even more popular btw.
It's the general state of Javascript and frontend code which is finally starting to understand what multithreading and concurrency is.
- ng12 7y agoJavaScript is not multithreaded.
- manigandham 7y agoJavascript as a language isn't, but Javascript code can use multiple threads in various ways.
- ng12 7y agoAnd you're implying asynchronous coding is new to JavaScript developers?
- deleted 7y ago[deleted]
- manigandham 7y agoAs default architecture? Yes.
- ng12 7y agoI'd like to see some evidence to back that up. The event loop is one of the few things JavaScript did correctly and it's baked into everything but the most trivial of applications.
- manigandham 7y agoI'll refer to my quote: "The massive number of async-related workarounds, libraries, tooling and code practices says otherwise." It's surprising that JS has so much history with callbacks and events but async methods are unsupported or require workarounds by so many core frameworks and libraries which default to synchronous APIs for everything.
- paavohtl 7y agojQuery is not an UI framework. It's a library of utilities for DOM querying and manipulation.
- manigandham 7y agoThe point being popularity has nothing to do with architecture.