From spluque at gmail.com  Tue Sep 26 22:48:17 2006
From: spluque at gmail.com (Sebastian P. Luque)
Date: Tue, 26 Sep 2006 15:48:17 -0500
Subject: [Rd] standardization of slot access
Message-ID: <87y7s6bbhq.fsf@patagonia.sebmags.homelinux.org>

Hi,

I'm usually confused about when to use 'slot' or '@'.  I've frequently
read that it's always preferable to use accessor functions, so I would
think the '@' operator should be avoided.  However, ?slot contains the
following advise:


"Generally, the only reason to use the functional form rather than the
simpler operator is _because_ the slot name has to be computed."


How do we decide whether to use the function or the operator?


Cheers,

-- 
Seb




[Rd] standardization of slot access
Sebastian P. Luque