RSS | Module Info | Add a review of accessors
accessors
(1.00)
Fast, simple accessors for the vast majority of cases where that's all that's needed. There are many (perhaps too many) modules that provide more flexibility and a plethora of other features, but this one makes a virtue of its simplicity. The pragmatic, lower case name is nice as well, as it slots in naturally alongside other compile-time conveniences.
My only gripe is that I'd prefer accessors::classic to be called accessors::rw (for read-write) - it's fewer characters to type (which is the point, after all) and more descriptive; and I'd like it to be complemented by a read-only version, accessors::ro.
EDIT (2008-06-11):
Added a star as accessors::ro and accessors::rw have been added.
chocolateboy - 2008-06-11T13:18:42 (permalink)
7 out of 7 found this review helpful.
Was this review helpful to you?
Yes
No

