after reading through PerlMonks Sections I decided this post should go here...
I have been using Autoload extensively for my getters and setters, and refrained from "auto-writing" them, basically because I didn't like how it looked in the code.
I also stumbled across some code that uses a baseclass with a makeattr-method it uses as "initializer", to write these accessors, which I also find pretty cool...
Now I was wondering, which method do others prefer?
So I would like to open a discussion:
- what are the advantages and drawbacks of each method, or do you see a third alternative? And which do you prefer?
Maybe someone with a higher level would like to make this into a poll?
--
Back to
Meditations