note
philcrow
I start with Newton's method for the square root of two or three. This also leads to a simple answer that I don't need a debugger to check. I start with a simple loop, then move that to a subroutine, then I move the subroutine to a differnt file so I can learn to make a library. Then I expand the function in the library to handle different root finding.
<p>
I did this in Pugs to try out Perl 6 and liked it so much I wrote <a href="http://www.perl.com/pub/a/2007/03/01/perl-6-parameter-passing.html">an article</a> about it. But, I've done it for many other languages over the years including Perl 5 and even (shudder) COBOL.
<p>
Phil
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-480254">
The <a href='http://stores.lulu.com/philcrow'>Gantry Web Framework Book</a> is now available.
</div></div>
690164
690164