A love little samples like this...
From Justin Rogers
A conversion from integer to long form english... I could write that ;-)
[Editorial note: A more complete sample is available through article: weblogs.asp.net/justin_rogers/articles/151757.aspx ]
I find little conversion functions to be the most interesting type of programming you can spend your time on. You wind up exercising so many areas of programming expertise to make the algorithms short, complete, bug free, and as fast as possible....
Almost makes me want to dig out some of my university text books, they tended to be filled with assignments like this, of course I was writing the answer in Think Lightspeed Pascal... but the concept is certainly the same :)
Ok, now I'm wanting to dig out all my copies of "Inside Macintosh" reference books (I still have 4 or 5 of those big white books in my garage)...
Comments
- Anonymous
June 09, 2004
Hey! I remember Think Lightspeed (c/pascal) during my Mac days about a decade ago ;)
Symantec bought the products and don't know what become of it.. - Anonymous
June 09, 2004
a - Anonymous
June 09, 2004
ssssssssssssssssssssssssssssssssssssssssssssssss - Anonymous
June 10, 2004
Wow, I was a Think Pascal user back in '93/'94 on a Mac Classic II. Thanks for the trip down memory lane.