Hi Lasse,
> I hope that Wt stays away from Qt because the library does not follow > good C++ practices. It enforces OOP everywhere That's the best joke I've ever heard. There are those who like Qt and those who prefer Boost. Both libraries are excellent. Personally, I prefer by far Qt for: its richness, its simplicity, its intuitive API, ... I guess, Wt should offer an abstraction layer that can be used either by Boot or Qt, depending on the user. Houssem -----Message d'origine----- De : Lasse Kärkkäinen [mailto:[email protected]] Envoyé : Sunday, January 18, 2009 8:57 AM À : [email protected] Objet : Re: [Wt-interest] Boost > Qt I hope that Wt stays away from Qt because the library does not follow good C++ practices. It enforces OOP everywhere, it requires a special precompiler that breaks when you try to use templates. It doesn't use namespaces, exceptions or templates, all of which are very central parts of modern C++. Boost is basically the opposite, building on top of functors, templates and iterators where applicable. It does signal errors by throwing, as good C++ code should, and everything is based on the RAII idiom, so that you rarely see or have to use the new keyword anywhere, and you never have to use delete. Should a better (but still bloated) support library be required, I recommend glibmm. It has charset conversions, UTF-8 strings (with full std::string and iostream compatibility) and very feature-rich XML (via libxml++), all in good C++ style. It also has signals, but it isn't very clear whether Boost.Signals or SigC++ is better. Both are better than Qt's approach, though. ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
