http://www.perlmonks.org?node_id=508189


in reply to Re^3: Teaching Children How to Program
in thread Teaching Children How to Program

Ahh, that's nothing. Why when I was a lad we used to program by poking holes in a pieces of card then mailing the cards away and waiting a week to see if the program worked.

When the TRS80 came out I programmed it in Z80 machine code just for the challenge. (My Grandfather had a mechanical adding machine that I used for extracting square roots by using successive approximations - by hand.)


Perl is Huffman encoded by design.

Replies are listed 'Best First'.
Re^5: Teaching Children How to Program
by ambrus (Abbot) on Nov 14, 2005 at 21:31 UTC

    Heh, I've tried a mechanical adding-multiplying machine once: the Math Institute has one and I could try it out once. It worked very nice.

    The machin has three long numerical displays: one for the multiplicand, one for the multiplier, and one for the product. You can set up the multiplier with a series of knobs, one for each digit. Then, you rotate the big handle on the sid of the machine, which increments the multiplier by one and the accumulator by the multiplicand. Then you can shift some part of the machine so that you can increment the multiplier by 10 instead of 1, or 100 etc, and then the accumulator will increase with the multiplicand shifted left with the correct amount. The accumulator and the multiplier can be reset independently, so that you can calculate sums of products. The handle also works backwards, for subtraction. There's also a bell that rings on carry/borrow (Update: the bell is useful for division).

    All in one, it seemed wonderful for me that you could do all those calculations without electronic parts, even when I understoodd how it worked.

    I've also tried a logarithmic scale and some typewriters, but I'm too young to having used any of these regularly. Hey, I'm too young for even computer programs (not music) stored on magnetic tape, the Commodore machines I used had floppy disks.

    Oh, and if anyone wants to read more of these nostalgic stories, read the comments on the poll My first computer was.... (I didn't comment there, but my first one was a 386 pc.)