Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31251

Re: About concurrency and functional programming

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: About concurrency and functional programming
Date Sun, 01 Mar 2015 12:03:37 -0600
Organization A noiseless patient Spider
Lines 17
Message-ID <mcvk8s$erb$1@dont-email.me> (permalink)
References <mcqnmv$9it$5@dont-email.me> <mcqogt$cea$8@dont-email.me> <mct30s$qhh$1@dont-email.me> <mctboa$tg5$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 1 Mar 2015 18:03:08 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="8cedddb29338592f734c41b16a68fadc"; logging-data="15211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qk5K4Qt7rfO9N381f3KRP2ROvcIBoRPI="
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Thunderbird/36.0
In-Reply-To <mctboa$tg5$1@dont-email.me>
Cancel-Lock sha1:tZMJz7vBiNeJdsHtaxnmPDDP8OI=
Xref csiph.com comp.lang.java.programmer:31251

Show key headers only | View raw


On 2/28/2015 3:26 PM, Robbie Brown wrote:
> How do you 'distinguish between composition and inheritance'?
> (as opposed to distinguishing between composition and aggregation)
> they are two entirely different (but ultimately, often connected) concepts.

It struck me only long after I wrote that post that Bartosz was not 
referring to composition in the traditional OO 'has-a' sense but rather 
in the functional or transactional sense. "Composition" in this sense is 
meant to refer taking algorithmic units (say, running Dijkstra's 
algorithm on a graph or maybe Tarjan's SCC-finding algorithm) and using 
them as building blocks to solve the problems you want to solve (e.g., 
interprocedural optimization).


-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: About concurrency and functional programming Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2015-02-28 12:56 -0600
  Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-02-28 21:26 +0000
    Re: About concurrency and functional programming Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-28 21:28 -0500
      Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-03-01 08:41 +0000
        Re: About concurrency and functional programming Robert Klemme <shortcutter@googlemail.com> - 2015-03-01 12:34 +0100
          Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-03-01 14:26 +0000
            Re: About concurrency and functional programming Joerg Meier <joergmmeier@arcor.de> - 2015-03-01 15:30 +0100
              Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-03-01 14:31 +0000
            Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-03-01 14:30 +0000
            Re: About concurrency and functional programming Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-01 11:29 -0500
              Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-03-01 17:07 +0000
                Re: About concurrency and functional programming Joerg Meier <joergmmeier@arcor.de> - 2015-03-01 20:12 +0100
                Re: About concurrency and functional programming Robbie Brown <rob@example.com> - 2015-03-01 20:31 +0000
                Re: About concurrency and functional programming Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-01 16:13 -0500
                Re: About concurrency and functional programming Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-01 16:11 -0500
                Re: About concurrency and functional programming Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-01 16:17 -0500
    Re: About concurrency and functional programming Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2015-03-01 12:03 -0600

csiph-web