abstractions do/not kill

1 view
Skip to first unread message

Raoul Duke

unread,
Dec 12, 2025, 11:12:12 AM (11 days ago) Dec 12
to pi...@googlegroups.com
in js it is not uncommon to do

setTimeout(() => { stuff }, 0); // adds to the macro q

would you use a named helper fn for that? or since it is common js knowledge, would you leave it as-is? should a language evolve to have an explicit built in for it?

Mike Austin

unread,
Dec 17, 2025, 8:15:58 PM (5 days ago) Dec 17
to PiLuD
kludge()? If you need a setTimeout 0, you're really looking for a queue or something to handle steps in a sequence.
Reply all
Reply to author
Forward
0 new messages