On Wed, Oct 15, 2003 at 12:36:52PM +0200, Jean-Marc Lasgouttes wrote:
> But class LyX's member variables are just a bunch of global variables
> hidden in a `singleton class' just for the sake of using a buzzword,
> aren't they?

Sort of. The problem is there are languages (like Java) where using such
things is necessary as the alternative does not exist (free functions). 

Now there is a tendency to deploy knowledge gained in one area in an
other, just because it works, not because it is the best solution.
That's only human I suppose.

Andre'

[Of course there are limits to this approach. I recently really got
angry when one of the 'leading German computer magazines' came up with
a benchmark showing that C++ is _slower_ than Java.  Well, the Java
stuff they tested was not exactly perfect, but the "equivalent C++ code"
was so abysmal that I would not use that page to wipe my backside.  And,
of course, the test was "fair" as the algorithm was "identical".]

Reply via email to