Path: csiph.com!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.85.236.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Is JS a functional programming language? Date: Sun, 22 Apr 2018 01:18:42 +0200 Organization: PointedEars Software (PES) Lines: 63 Message-ID: <12503549.nl7q7Es1eF@PointedEars.de> References: <2ea2803e-c39d-40e0-b8ed-136c3dc9b4e0@googlegroups.com> <3364120.8dbtfUO1ph@PointedEars.de> <4mv0ddt3bre9bbiofnvabnbamlp9jfj072@4ax.com> <15901681.8V3EAehsKz@PointedEars.de> <3dd0b784-9634-4047-b79b-a171d1e1d099@googlegroups.com> <611cba1f-e8f1-4ca1-8eb5-5e10456200d1@googlegroups.com> <1703120.hZdRbIOfhN@PointedEars.de> 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="85.236.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch:178.197.236.85"; logging-data="16494"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.2 X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. A Troll called Thomas 'PointedEars' Lahn wrote: >>> Julio Di Egidio babbled: >>>> JS is a *functional* language: the modularity is modularity of >>>> *lexical* >>>> constructs and contexts... (Someone else might be able to say it >>>> better.) >> Modularity is not the key property of a functional programming language. > > I already knew another troll would drop by You are the only troll here. Evidence is marked below. > to back their pal up. LOL You have not the slightest clue what you are talking about. For how long have you been reading the newsgroup, a week or so? The record shows that Julio Di Egidio and I are anything *but* pals. In fact, I had him killfiled a long time ago (which is why I posted a follow-up to your posting, not his). That does not change the fact that he is *correct* in his choice of terminology there. > JavaScript is a multi-paradigm language, but the resident moron called ^^^^^^^^^^^^^^ > Julio insists that JavaScript is a functional programming language just > because it offers the possibility of using the functional programming > paradigm. And that is where he is *correct*. > In JavaScript, functions are first-class *objects*. If you had read more carefully, you would have realized that the term “first-class object” does _not_ imply object-oriented programming. > You won't find prototype-based or procedural-imperative paradigms in pure > functional programming languages. But there is a difference between a functional programming language (like ECMAScript implementations), where the functional programming paradigm can be used, and a *pure* functional programming language (like Haskell), where *only* the functional programming paradigm (and related paradigms) can be used. > Period. Stop spreading bullshit Yeah, have you looked into a mirror lately? > and fuck off! Read my signature, ignoramus. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.