Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

Jes Sorensen
2010-11-24T17:06:54Z

On 11/24/10 17:59, Avi Kivity wrote:
> On 11/24/2010 06:51 PM, Jes Sorensen wrote:
>> Right we need good design for our C code, which we are lacking to a
>> large extend. However that has nothing to do with the language, that has
>> to do with the developers.
>
> I'm sure patches will be welcome.
>
> C++ doesn't enforce good design. But it allows a good design to be
> enforced.

Sorry but that is utterly and completely bogus! The enforcement is only
as good as the developers and maintainers make it, and C++ has more
trapdoors than C has ever had. Sure you can shoot yourself in the foot
in C, in C++ you take the whole leg off instead.

Jes