in reply to Re^5: Log::Log4perl and singleton design issue
in thread Log::Log4perl and singleton design issue

The point is not to hardcode something somewhere. If you wish to use globals, go right ahead. I'm not trying to stop you. Just like you use enapsulation in OO for setters and getters for the flexibility of doing things during sets or gets, it's the same for singletons. It allows you to break the mold. Saying singleton's are useless is like saying sed is useless. If it were useless, people wouldn't use it.

----
Give me strength for today.. I will not talk it away..
Just for a moment.. It will burn through the clouds.. and shine down on me.

  • Comment on Re^6: Log::Log4perl and singleton design issue

Replies are listed 'Best First'.
Re^7: Log::Log4perl and singleton design issue
by sauoq (Abbot) on Dec 19, 2004 at 23:14 UTC
    If it were useless, people wouldn't use it.

    Can you make the same argument about neckties?

    Neckties are useless, but some people think wearing them makes them more professional.

    -sauoq
    "My two cents aren't worth a dime.";
    

      Depends. Is it a columbian necktie?

      Makeshifts last the longest.

        Wow! Talk about off-topic... Ever listen to a band called Big Black? :-)

        -sauoq
        "My two cents aren't worth a dime.";
        
      but some people think wearing them makes them more professional.
      and therefore they're not useless.
      
        and therefore they're not useless.

        Some people thought the world was flat... that didn't make it so.

        But, I get your point... just so long as we agree that the usefulness doesn't extend beyond making some delusional people happy.

        -sauoq
        "My two cents aren't worth a dime.";
        
      The traditional necktie, can be used as a tourniquet. Other than taht, they are merely a traditional fashion statement. Two times the usefulness. As Emerald would say, "Bam!"

      ----
      Give me strength for today.. I will not talk it away..
      Just for a moment.. It will burn through the clouds.. and shine down on me.

        Suggesting it is "useful" as a "fashion statement" seems oxymoronic to me. Statements aren't useful... unless they are true. And fashion statements are never true.

        -sauoq
        "My two cents aren't worth a dime.";
        

        Regarding use as a tourniquet, I've rarely seen anyone where a necktie without also wearing a belt. A belt makes a dandy tourniquet as well. So, a necktie would be, in the vast majority of cases where a tourniquet would be necessary, redundant (and therefore useless.)

        -sauoq
        "My two cents aren't worth a dime.";