you pays your money, you takes your chance

TorgoX on 2001-12-26T12:59:12

Dear Log,

Persistent problem in programming, among other things: As you're designing a system that involves certain kinds of values that can be expressed in terms of eachother, which do you actually choose as the native format? Example: You're making a class where an object of that class represents a point in time -- say, 1pm on January 9, 1993. Clearly you could represent this as number of seconds since an epoch (and convert to and from other formats as needed), but that may be unweildy depending on what you want to write methods for.
I'm not actually writing a date/time class, but I'm running into a similar problem with events in my new Pod parser class.

On my stereo: Massive Attack, "Teardrop", off Mezzanine, a favorite album. Looking at the lyric sheet for the song, I realize I've never understood a word of it as I listened to it, and never cared. Interesting that people so easily accept music (vocal or not) as an abstract art form; I wonder why there was a centuries-old prejudice against abstractness in visual art.