Maybe a matter of taste, but I'm intrigued to see these overrides in CAPS... I see it's phasers not methods but I'm just questioning the convention ("eye candyness") as somebody having never used Moo/se but OOP in other languages.
Well-known software developer specializing in large-scale database-driven web sites. Usually I use Perl. I speak at too many conferences. https://allaroundtheworld.fr/
These upper-case phasers (CONSTRUCT, ADJUST, and DESTRUCT) follow the existing Perl conventions for BEGIN, UNITCHECK, CHECK, INIT, and END. However, these new phasers are for different phases of object construction rather than the program itself.
Maybe a matter of taste, but I'm intrigued to see these overrides in CAPS... I see it's phasers not methods but I'm just questioning the convention ("eye candyness") as somebody having never used Moo/se but OOP in other languages.
These upper-case phasers (
CONSTRUCT
,ADJUST
, andDESTRUCT
) follow the existing Perl conventions forBEGIN
,UNITCHECK
,CHECK
,INIT
, andEND
. However, these new phasers are for different phases of object construction rather than the program itself.Good point 👍