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