News for hackers. Stuff that matters.
Re:Async Queue – One of My Favorite Programming Interviews (... by gloosx on Monday July 07, 2025 @11:00AM (#44491091)
In context of JS this kind of promisified async code is intuitive and this pattern is quite common in various projects and libraries, but the solution in C-like pseudocode of course looks more readable for general programming public.
Re:Async Queue – One of My Favorite Programming Interviews (... by no_wizard on Monday July 07, 2025 @12:41PM (#44492125)
I agree, this seems incredibly readable to me, though I work in TypeScript / JavaScript all day and know the language and its patterns very well.