3 ms·
If it's possible for the barber to finish and check the waiting room before the new customer traverses back to the waiting room from checking the barber, it mea
by theandrewbailey 9y ago
If it's possible for the barber to finish and check the waiting room before the new customer traverses back to the waiting room from checking the barber, it means that the barber shop is poorly architected, and needs to be reimplemented (preferably with the latest JS framework).
\s
- LeoNatan25 9y agoAnd then write a pretentious Medium blog post how that (single-threaded “concurrent”) JS framework solves all concurrency/parallelism problems of the world by using async/await.