On 01-12-2011 14:26, Steven Schveighoffer wrote:
On Wed, 30 Nov 2011 20:45:19 -0500, Andrej Mitrovic
<[email protected]> wrote:

Add @property to front/back/popFront/popBack/empty/save.

Also popFront/popBack need to be void return type.

popFront/popBack need not be @property.

-Steve

Anything that mutates the state of an object or does something that's significantly more expensive than retrieving a field should not be a property. This is something I still have gripes with in the language itself (see array.dup). I think it's completely broken that such design is encouraged.

- Alex

Reply via email to