in reply to Re^2: Correct idiom for default parameters
in thread Correct idiom for default parameters

I don't understand ...

Imho it's common and accepted terminology to call methods returning member objects "constructors"

--lanx

  • Comment on Re^3: Correct idiom for default parameters

Replies are listed 'Best First'.
Re^4: Correct idiom for default parameters
by Anonymous Monk on Apr 30, 2010 at 09:42 UTC
    Accepted terminology is irrelevant when you're picking nits
      not even nitpicking ... perlobj is full of examples where such methods are called "constructors".

      Cheers Rolf

Re^4: Correct idiom for default parameters
by JavaFan (Canon) on Apr 30, 2010 at 22:10 UTC
    That terminology dates from the same time people thought hashref based objects were great. Just because people repeat others doesn't make them right. Or not use confusing terminology. If new is an object constructor, then what does bless create? Santa Claus?