From: Marco Costalba Date: Sun, 23 Sep 2007 14:45:58 GMT Subject: Re: [OT] Re: C++ *for Git* Message-ID: In-Reply-To: On 9/23/07, Nicolas Pitre wrote: > You must have misunderstood. Why? The linux kernel is itself very > heavily "object oriented" already, even if it is written in C. You > don't need C++ for that. > Yes it's true, you don't need it. Object oriented in C is achived using function pointers. In C you fill a struct of function pointers with proper values instead of inherithing from an (abstract) base class as you would do in C++. The results are more or less the same modulo some type safe. Marco