Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Doc O'Leary Newsgroups: comp.lang.javascript Subject: Re: How would you prepare for javascripting interview? Date: Sat, 10 Sep 2016 15:12:20 -0000 (UTC) Organization: Subsume Technologies, Inc. Lines: 31 Message-ID: References: <1875389.irdbgypaU6@PointedEars.de> <87h99vz2lp.fsf@bsb.me.uk> <87zinmxis5.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 10 Sep 2016 15:12:20 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="35a2a0a28e4aa659e58d71f46ac8d861"; logging-data="2395"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gQNMQS8LG+sLDn7jvlJGt1jZx0B2iy3k=" User-Agent: com.subsume.NNTP/1.0.0 Cancel-Lock: sha1:PaYb2/8idOYlxjXvqidEAh8+qA0= Xref: csiph.com comp.lang.javascript:31304 For your reference, records indicate that Gene Wirchenko wrote: > On Wed, 7 Sep 2016 20:21:31 -0000 (UTC), Doc O'Leary > > > >No, it doesn’t. It certainly has 1 as its identity, but that’s not > > Actually, it does. When you initialise for a chain > multiplication, the initialisation value is 1. > > >the same thing. Do yourself a favor and talk to real people about > >their understanding of math before you *ever* write any software you > >expect them to use on a daily basis. > > Oh, I have. I minored in math. Number theory is a particular > interest of mine. So who are the non-math-geeks you talk with that describe multiplication as something you “initialize” in a “chain”? I continue to state the obvious to not only the vast majority of the population, but the correct behavior from a *computer science* perspective: anyone calling a commonly binary function with less than 2 values is probably doing so in error. Nobody but mathematicians care how clever it is that you can still fabricate a “valid” result with 0 arguments. -- "Also . . . I can kill you with my brain." River Tam, Trash, Firefly