Path: csiph.com!news.dns-netz.com!news.freedyn.net!news.mb-net.net!open-news-network.org!.POSTED.0.237.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Why not fix problem, but instead build a new structure and syntax overlay? Date: Mon, 01 Mar 2021 11:06:54 +0100 Organization: PointedEars Software (PES) Lines: 27 Message-ID: <11703307.O9o76ZdvQC@PointedEars.de> References: <45cd9e94-7313-4447-8a9d-3218be6d4b7fn@googlegroups.com> <67cc9459-fae1-4591-af12-37d543bf55fbn@googlegroups.com> <37d793d2-5d92-4c1c-881d-053a31b8d7fbn@googlegroups.com> <3fb77903-6733-48b0-9b93-b3bbbe3f4089n@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="0.237.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch:178.197.237.0"; logging-data="12056"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.10 Cancel-Lock: sha1:TUb+yVwgRs+zu45GwVK3ok905xo= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. On Sun, 28 Feb 2021 15:58:50 -0800 (PST), Jonas Thörnvall wrote: >> I kind of doubt your counterexample to beleive with but if that is true, >> you make a wrapper. create,thread.wassup(setTimeout); >> release.thread.wassup; > > I get your frustration. Sometimes I loathe JavaScript limitations too. But > what can we do? We can't simply change how JavaScript works. Blind leading the blind :-D setTimeout() is NOT a language feature; it is a DOM feature. Although it might not have been intended to be, it evolved into a workaround for the fact that the language is single-threaded. In the meantime, better workarounds have been developed, including threads. So STFU and RTFM: -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.