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

Re: Migration to C++ (?)



Hi,

I just merged the C++ branch and pushed it.

On Mon, Jun 30, 2014 at 12:36:44PM +0200, Thorsten Wißmann wrote:
> What do you think?

There were some reactions and questions on the IRC. Here's a short FAQ:

  - Q: What about glib?
    A: I will migrate the datastructures continuously from glib to STL,
    which is a built-in library of C++. So on some day, no glib is
    required anymore.
  - Q: Isn't it problematic to write a library (i.e. libherbstclient) in
    C++?
    A: herbstclient stays C to make it easy to link it into any kind of
    programming language.
  - Q: I don't like OOP/Design-Patterns!..
    A: Using C++ does not mean one needs to use the bad features of OOP
    or Design-Patterns. C++ is just a superset of C with respect to
    syntax and features.
  - Q: Does it still run on *bsd?
    A: As long as there is some C++ compiler (like g++ or clang++), hlwm
    will still run there.

If you have still doubts or questions please ask!

Cheers,
Thorsten

Attachment: pgpnvNFuZpTM4.pgp
Description: PGP signature