Syntactic Confectionery Delight | |
PerlMonks |
Re: The division of (class) labor in OOPby BrowserUk (Patriarch) |
on Jun 05, 2005 at 19:11 UTC ( [id://463751]=note: print w/replies, xml ) | Need Help?? |
Ask yourself will you ever authenticate anything other than a User? If yes, and if there will some commonality between the code to authenticate a User and that/those Other things then an Authenticate class maybe useful. Otherwise, just add authentication method(s) to the User and Other classes. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
In Section
Seekers of Perl Wisdom
|
|