in reply to (Ovid) Re: Packing HTML Paths
in thread Packing HTML Paths

If we're to use this as an organisational structure, I recommend using either european/continental date style (DD/MM/YY) or even better, the unnamed but alphabetically sorting style YYYY/MM/DD. This way, old stuff can easily be found and put on tape.

Update: Of course, Ovid already said that. People who can read (and actually do) have an advantage I guess.

  • Comment on Who came up with MM/DD/YY anyway ?(was: Re: (Ovid) Re: Packing HTML Paths)

Replies are listed 'Best First'.
(Ovid) Re: Who came up with MM/DD/YY anyway?
by Ovid (Cardinal) on May 22, 2001 at 21:57 UTC

    Just general rambles about your reply (which is merely a cheap way to mention something I did in VBScript :)

    I prefer YY/MM/DD or YYYY/MM/DD since sorting is much easier. It may not seem like a big deal to Perl users, but imagine if others are forced to manipulate data in other languages, such as VBScript, which doesn't have native sorting.*

    In any event, even with Perl's robust sorting abilities, having a straight-forward sort on the dates is much easier to read than a lot of weird maps or greps or other things. Of course, if I have complex sorting, I usually stick it in a function with a descriptive function name.

    Cheers,
    Ovid

    * I kind of feel sorry for some of the VBScript programmers I left behind. I am so used to shift, pop, sort, and so many other handy tools to use with lists and arrays that I wrote a "Perl functions" library in VBScript. Much of my VBScript code read like "baby Perl" (though only in parts where I thought the overhead wouldn't kill a language that was not designed for such functions).

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
(tye)Re: Who came up with MM/DD/YY anyway ?(was: Re: (Ovid) Re: Packing HTML Paths)
by tye (Sage) on May 22, 2001 at 22:34 UTC

    It isn't unamed, it is ISO 8601. It is the internationally standardized date format (except the standard specifies that you use "-" instead of "/", which is a good idea as it is easier to read that way ["/" looks too much like a "1" to too many cases] and also doesn't require escaping).

    See international standard date format.

            - tye (but my friends call me "Tye")