6 ms·
Why would we want to mix async and sync behavior in one cognitive space? That seems counter evolutionary.
by ilostmykeys 10y ago
Why would we want to mix async and sync behavior in one cognitive space? That seems counter evolutionary.
- pacomerh 10y agoFiner control?. Synced behavior is easier to understand and organize logically. You have the option to write it like a book and execute things "concurrently" (considering its really single threaded in JS).
- ilostmykeys 10y agoSingle threaded concurrency is not the same as synchronous/sequential execition. You and TC39 folks are telling us that mixing sync and async behavior in the same cognitive space is good? Amazing. Async handling should be in its own cognitive space.