From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b3f07bd1ad77d438 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: The state of functional programming Date: Wed, 28 Jul 2010 19:09:17 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <2adc4d8d-210e-429c-8188-9b1e99c2718e@d17g2000yqb.googlegroups.com> Injection-Date: Wed, 28 Jul 2010 19:09:17 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="21145"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/A1XFqwNgNeHk4EOokcr0ICPMOL260xv0=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:nLJWIhgA4zppnEcLsNZUMulEkRA= Xref: g2news1.google.com comp.lang.ada:12640 Date: 2010-07-28T19:09:17+00:00 List-Id: Dmitry A. Kazakov expounded in news:g24nvegdi17t$.1azxwn1rwjixi$.dlg@40tude.net: > On Wed, 28 Jul 2010 08:24:08 -0700 (PDT), J.s wrote: .. >> and >> functions as values to make it easy to abstract units of a solution >> into reusable pieces. > > Function as a value of what? And what is the difference? Maybe a side > effect of the call? Anyway I don't see how values can be reusable. > >> Does anyone have any thoughts on this? I think FP and procedural languages are like opposite ends of a fourier tranform. In one system, one set of languages are very effective at solutions in that domain, while the \ other set of languages (FP) struggles. Do the transform into the other system, and then the other (FP) languages provide simple answers to some problems, while the traditional ones struggle. Each collection of languages best solve problems in their domain of applicability. For my money, FP still is less generally effective because it relies on special tricks/algorithms to narrow down the huge number of paths for a solution. If the tricks/algorithms do apply, then it works. For all other situations it is either wrong or impractical (takes too long etc.) Warren