A programming technique around which to wrap your head

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15499
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

A programming technique around which to wrap your head

Post by ChrisGreaves »

https://archive.org/stream/anotherICL_a ... y_djvu.txt

"In the current climate of moderate panic about the Millennium Bug, I'm happy to remember that the very first problem that we were set by John Sisam in the P.C.C. programming course in November 1958 was to read a series of year numbers and decide which ones were leap years. We had of course to include the check that a century year is only leap if it is divisible by 400.
Several instructions could be saved by reading the data as though the tens and units came after the decimal point. What a magnificent preparation for the problems of forty years later! "

Sleep well!

Cheers
Chris
An expensive day out: Wallet and Grimace