Re: some comments about our C++ code...


Subject: Re: some comments about our C++ code...
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Sun Apr 15 2001 - 19:51:47 CDT


>One example that is rife throughout the Abi code is the gnome FE code
>where the main Window widget pointer is left in protected space where it
>can be accessed and set by the over-loaded _constructWindow methods.
>
>Cheers
>
>Martin
>
>Motto: Some rules are made to be broken.

foo_type getFoo(void) const;
void setFoo(foo_type);

That's all I have to say. Using protected for anything other than methods is
horrible and should be considered wrong/bad code.

Dom

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Sun Apr 15 2001 - 19:51:49 CDT