Re: RE : Re: glade code generation

Jon Cast <[email protected]>
Newsgroups gmane.comp.gnome.glade.devel,gmane.comp.gnome.glademm
Message-ID <20030309025939.860EE4A5ED@jcomain>
Joaquin Cuenca Abela <[email protected]> wrote:
<snip>
> In the same sense that when you do a singleton the user should use a
> ::getInstance method, but you still make the constructors private.
> Just to be sure.

I'm not sure what you mean.  `::getInstance'' does the same job as a
constructor, no?  In any case, this is a UI change.  Obviously, we don't
want to have a button that says ``click here to load the user-generated
code into $EDITOR''.  But, modifying the generated code is physically
possible, just like it's physically possible to write a bit of assembler
to call the (private) constructor.

> There is an important difference between "he shouldn't" and "he
> can't".

Right.  Which is why ``he can't'' has been banished from the Un*x
vocabulary.  I don't see the reason for your urge to destroy features to
enforce any notion of right & wrong, though.

> Cheers,

Jon Cast
_______________________________________________
Glade-devel maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/glade-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.