New Time format

Jason Orendorff jason at jorendorff.com
Thu Jan 24 19:35:46 EST 2002


Dale Strickland-Clark wrote:
> Martin von Loewis <loewis at informatik.hu-berlin.de> wrote:
> >I'm not sure I understand the problem you seem to have with
> >time.strftime.
> 
> The problem is I have to look it up EVERY time I use it. It's too
> fussy for the simple case where I want a basic date/time.
> 
> >I'd question that people can memorize the meaning of a number in 0..4
> >to identitify a format much better than they can memoryize strftime
> >format specifiers. I'm pretty sure that people can *read*
> 
> But I can find a number between 0..4 by trial and error in a few
> moments.

Code gets read more often than it's written.
Readability is more important than writeability.

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list