On Tue, 2012-04-10 at 18:39 +0200, Jakub Jelinek wrote:
> On Tue, Apr 10, 2012 at 09:22:56AM -0700, Xinliang David Li wrote:
> > > Not to mention it is very questionable if the above stuff is more readable
> > > than what we currently have.
> > 
> > The above is just quickly cooked up examples. A carefully designed C++
> > based API can be self documenting and make the client code very
> > readable. It is hard to believe that there is no room for improvement
> > in GCC.
> 
> Do you have examples?

I hate to bring this up, but in my personal experience, getting started
with LLVM was _much_ easier than with GCC.  LLVM is a much newer
codebase, so that's an advantage unrelated to the language.
Nonetheless, the grouping/context/ease-of-navigation provided by
namespaces, objects, etc. is indeed valuable in my opinion.

Torvald


Reply via email to