Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Monkey gibberish Date: Wed, 22 Dec 2021 10:30:30 +0100 Lines: 60 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net GEsS6Gra8Vgy94egzZAu/gZJX7TbSsxiA1V3gzK84+nkjLnlU5 Cancel-Lock: sha1:RKGhsmdNe6TSAzCI99pt42g/r0U= User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Betterbird/91.4.1 Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.lang.javascript:40699 The Natural Philosopher: > On 21/12/2021 12:41, Arno Welzel wrote: >> Jonas Thörnvall: >> >>> I have a bit hard to read monkey gibberish, is there a way to explain this to someone who is not fullfledged retarded? >>> >>> .then(res => res.arrayBuffer()) >>> .then(ArrayBuffer => ctx.decodeAudioData(ArrayBuffer)); >>> >>> Specifically >>> .then => >>> Is there another way to write it that may not be gibberish? >> >> Just because you don't know every detail about JavaScript does not mean >> that this is "gibberish". >> >> See: >> >> >> >> > And remember that te primary purpose of extending computer languages is to > - make yourself look smart > - sell text books > - sell training courses > - make people who don't buy the above effectively redundant, as they can > no longer understand your code. If you don't like this - don't use JavaScript. It may not be the right thing for you. > The fact that async syntax in JavaShite is total utter crap, is, in this > context, an advantage. I mean what tosser invented 'promise' ? Friedman, Daniel and David Wise coined the term "promise" about 1976. "Scheme" which was invented 1975 also implements the concept of promises eventhough it was not named like that back then: JavaScript re-discovered this in the late 2000s when asyncronous execution of code became the de-facto standard for web based applications. Promises as they are known today are usable in most browsers since about 2014, so they are not really new there either. > I guess it was some millennial snoflake who once saw the term, > 'master-slave' in a textbook ' and 'male plug female socket' in a parts [...] I wouldn't call people who where already adults in 1970ies "milennial snowflakes". -- Arno Welzel https://arnowelzel.de