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


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

Re: Refactoring discovery

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Refactoring discovery
Date 2011-03-30 15:52 -0700
Organization A noiseless patient Spider
Message-ID <in0c89$86d$1@dont-email.me> (permalink)
References <kbgoo6dfrkh58r3ogel9nb6rekrs258it2@4ax.com> <imi0cq$ah4$1@dont-email.me> <imjjus$2cj$1@lust.ihug.co.nz> <e7Mkp.1468$0s5.314@newsfe17.iad> <in07ga$g5q$1@dont-email.me>

Show all headers | View raw


On 3/30/2011 2:31 PM, Joshua Cranmer wrote:

> if (cachedPtr && cachedPtr.y == y)

> Which pretty much gets you the "benefit" of combining them into one
> single operation without needing to provide all of the back-level
> predicate code operations (set-if-present, set-if-not-present, etc.)

Generally, this idea seems similar to techniques used in dynamic 
programming, which is itself a very powerful paradigm.  Useful to know 
about, at least.

http://en.wikipedia.org/wiki/Dynamic_programming

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