in reply to Re: Comparing Dates
in thread Comparing Dates

I think I like Date::Handler slightly better than Class::Date.

metadoktor

"The doktor is in."

  • Comment on Date::Handler Anyone? - Re: Comparing Dates

Replies are listed 'Best First'.
Naming methods, ignoring conventions (was: Date::Handler Anyone?)
by lachoy (Parson) on Feb 21, 2002 at 12:43 UTC

    This looks interesting (pure-perl and all), although the fact that it claims it's incomplete at this time would lead me to set it aside and check it later...

    <rant mode="on">

    As an aside: why do people ignore stated and historical Perl conventions and create methods with StudlyCaps rather than underscored_names? The only place this should be accepted is if a module is echoing an API found from another language that does use StudlyCaps as a convention, like libservlet does with the Java Servlet API.

    I understand that people moving from another language where StudlyCaps are used might have a little dissonance with underscores, but a message for these folks: it goes away! I code lots of Java and lots of Perl every day and have no issues with it -- Java has StudlyCaps, Perl has underscored_names. Perl has sigils, Java doesn't. ... It's not that hard! It's all just syntax!

    </rant>

    Chris
    M-x auto-bs-mode