People. Fellow programmers. If you are going to represent a date as something other than milliseconds since the epoch, please for pete's sake choose a representation where the ascii lexical sorting also matches sorting by time.

year - month - day - hours - minutes -seconds

Programmers who do otherwise will be forced to attend my re-education camp, where we will also discuss such topics as "use milliseconds since the epoch" and “there is only UTC”.

The principle for string key design: order the segments with most general on the left -> most specific on the right. Military list style.

Follow

@ceejbot And rob myself of the joy of writing a custom sorting function and yelling at people who don’t use it? Don’t be naïve.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Horsin' Around

This is a hometown instance run by Sam and Ingrid, for some friends.