On Wed, 2004-10-06 at 11:26 +0200, Burkhard Plaum wrote:
> In all cases, the programmer has to write one line,
> so typing time is hardly saved. Using
>
> BlahPriv *priv = plugin->priv;
>
> has the advantage, that everyone knows what's going on,
> even without reading documentation. I use this method
> in my whole code.
Well the point is that it's not abstract, if we were
forcing the user to access everything directly through
the fields of the structures, every small change in the structure
would mean that every plugin needs to be updated...
Dennis
|