Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: passing a set of numbers to a function Date: Fri, 29 Jan 2016 20:08:43 +0100 Organization: PointedEars Software (PES) Lines: 45 Message-ID: <3183856.lbL3dLxAXy@PointedEars.de> References: <19679ed0-c594-4f7e-817c-a72bd5c10411@googlegroups.com> <7925147.1Px1IdcSyd@PointedEars.de> <87powk4rzm.fsf@bsb.me.uk> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1454094524 18537 eJwFwYEBwCAIA7CXRGzBcyyM/09YAqex4hA8GMxChjCze32LSvZuz3cRHGNKZpIXUc9vCT8ZLBEy (29 Jan 2016 19:08:44 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 29 Jan 2016 19:08:44 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBwDAEBMCVBP8YpyT2H6F3MB5OOEHHYp/Kh7Kihh9020y1bu+9PuiXPIos5OtQ0WTKRZrD3KcYP0bpFIo= Cancel-Lock: sha1:keEKiCU2wGNz17UJRrJrGw1IkV4= X-NNTP-Posting-Host: eJwFwYEBwCAIA7CX3GiLngMI/59gQtOncogCh7ODP0iFXVXlxJ6MM+wjhjOBhets2SpU9AMm1xGX Xref: csiph.com comp.lang.javascript:29489 Ben Bacarisse wrote: > Joao Rodrigues writes: >> In a galaxy far far away, Thomas 'Pointed Ears' Lahn prattled: >>> Matheus Suffi wrote: >>> > I'm in trouble , I need to send a set of numbers to a function , for >>> > example: ' 01599874425 ' . >>> That is _not_ a set of numbers; it is, at best, a set of (decimal) >>> digits making up *one* number. >> Matheus was just giving an example. No need for bragging about your >> knowledge in Set Theory. Once again, you're missing the point. > > Sets don't contain duplicates so I would not say he's bragging. That is an interesting point – and relevant here given the Set type introduced in ECMAScript 2015 –, but not my point at all. I was pointing out the difference between the terms “number” and “digit” instead. > >>> 2. > > How I hate that document. It has some very sounds advice but I never > refer anyone to it because I cringe at the Usenet culture of bullying it > endorses. You have misunderstood it completely. It does not endorse bullying at all. > Usenet needs more smart answers than it needs smart questions. Usenet is not a free helpdesk; it is first and foremost a discussion medium. Good answers require a considerable amount generally helpful people’s *free time*; they should not be a gift, but (should) have to be *earned* by putting *some* effort into solving your own problem first. And a smart question is the best way to show this to one’s readers; it shows that one possesses the basic social and problem-solving skills and the will to use them in order to work on the solution to one’s problem *together*. BTW, that document has been referred by the FAQ of this newsgroup ever since, and that is good so. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.