groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Overview, Sept. 2014


From: Ulrich Lauther
Subject: Re: [Groff] Overview, Sept. 2014
Date: Wed, 10 Sep 2014 23:35:36 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Sep 10, 2014 at 10:16:47PM +0200, Werner LEMBERG wrote:
> 
> > I may have to look into this C++ stuff. I have only written C and I
> > have not figured out how to write multi-threaded applications
> > without global variables. And I make good use of goto and
> > longjmp. Apps would be a lot junkier without them.
> 
> Well, right now groff's C++ is essentially C code with some useful
> additions.  It doesn't use `high-level' C++ concepts like templates
> (although there is at least one place where this would be useful to
> avoid macro trickery).
> 
That templates are not used is a GOOD THING.

Templates are great when you write a library, but should be used sparingly in 
applications.
(Of course, there are exeptions, just as with goto's and globals).

        ulrich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]