3 ms·
I've written in so many languages that I wouldn't be able to answer how to sleep in language X off the top of my head. Is it time.Sleep()? delay()? wait_for()?
by kstenerud 8y ago
I've written in so many languages that I wouldn't be able to answer how to sleep in language X off the top of my head. Is it time.Sleep()? delay()? wait_for()? nsleep()? timer().delayUntil()? something else? No clue, but I know how to find out.
You're not hiring me for my encyclopedic knowledge; you're hiring me because I get the job done quickly and effectively, using a proper design and clean, tested code.
- debaserab2 8y agoNot to mention, there is no sleep command (I assume he meant setTimeout, which has very different functionality than a typical language's sleep command) in javascript, which kind of makes me question the credibility of someone insisting on gatekeeping the senior developer title so hard.
- o_nate 8y agoMaybe that was the OPs point? The paradigm of Javascript is incompatible with having a sleep() command, and an experienced Javascript programmer should know that?
- bastawhiz 8y agoThere is no sleep command. They didn't understand how callbacks worked at all. In JavaScript, that's fundamental. He wanted to poll with sleeps.