{ |one, step, back| } http://onestepback.org/index.cgi Jim Weirich's Blog en-us { |one, step, back| } http://onestepback.org http://onestepback.org/images/jwface.gif Kata Index http://onestepback.org/index.cgi/Tech/Programming/Kata/Index.rdoc <dl> <dt><a href="/index.cgi/Tech/Programming/Kata/KataTwoVariation1.rdoc">KataTwoVariation1</a></dt><dd>We explored an iterative solution using loop invariants. </dd> <dt><a href="/index.cgi/Tech/Programming/Kata/KataTwoRecursive.rdoc">KataTwoRecursive</a></dt><dd>We looked at two recursive solutions, one that passed array slices and one that passed explicit limits. </dd> <dt><a href="/index.cgi/Tech/Programming/Kata/KataTwoCps.rdoc">KataTwoCps</a></dt><dd>We rewrote our recursive version to use continuation passing style (CPS) and to take advantage of tail recursion. </dd> <dt><a href="/index.cgi/Tech/Programming/Kata/KataTwoNoTail.rdoc">KataTwoNoTail</a></dt><dd>We take advantage of our tail recursive version to convert it to a totally iterative solution. </dd> <dt><a href="/index.cgi/Tech/Programming/Kata/KataTwoCallCC.rdoc">KataTwoCallCC</a></dt><dd>What happens when we use real continuations with our contination passing style logic? Find out here. </dd> </dl>