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


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

Re: Refactoring discovery

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!news2.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe19.iad.POSTED!00000000!not-for-mail
From David Lamb <dalamb@cs.queensu.ca>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Refactoring discovery
References <kbgoo6dfrkh58r3ogel9nb6rekrs258it2@4ax.com> <imi0cq$ah4$1@dont-email.me> <imjjus$2cj$1@lust.ihug.co.nz> <e7Mkp.1468$0s5.314@newsfe17.iad>
In-Reply-To <e7Mkp.1468$0s5.314@newsfe17.iad>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Lines 12
Message-ID <MkMkp.1924$zn.895@newsfe19.iad> (permalink)
NNTP-Posting-Host 67.193.237.254
X-Complaints-To abuse@cogeco.net
X-Trace newsfe19.iad 1301516716 67.193.237.254 (Wed, 30 Mar 2011 20:25:16 UTC)
NNTP-Posting-Date Wed, 30 Mar 2011 20:25:16 UTC
Date Wed, 30 Mar 2011 16:25:13 -0400
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2612

Show key headers only | View raw


On 30/03/2011 4:10 PM, David Lamb wrote:
> first = longComplexOperation(lots of arguments)
> second = anotherLongComplexOperation(same set of arguments)
> it's going to take a very sophisticated compiler to synthesize
> (first, second) = combinedLongOperation(same set of arguments)
> and it's going to have to solve the Halting Problem, too.

I forgot to mention, the two sets of arguments might each be overlapping 
subsets of a larger set of arguments, making the commonality even harder 
to detect automatically.  The designer really has to write 
combinedLongOperation(LikelyOneObjectWithFields) that returns 
AllTheResults object.

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


Thread

Re: Refactoring discovery David Lamb <dalamb@cs.queensu.ca> - 2011-03-30 16:10 -0400
  Re: Refactoring discovery David Lamb <dalamb@cs.queensu.ca> - 2011-03-30 16:25 -0400
  Re: Refactoring discovery Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-03-30 17:31 -0400
    Re: Refactoring discovery markspace <-@.> - 2011-03-30 15:52 -0700
    Re: Refactoring discovery Lew <noone@lewscanon.com> - 2011-03-30 23:58 -0400

csiph-web