[argyllcms] Re: Is Argyll strictly ANSI C?
- From: Graeme Gill <graeme@xxxxxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Tue, 20 Nov 2007 16:23:10 +1100
Frédéric Mantegazza wrote:
Well, Argyll is not in C++, but *is* OO! At least, the hardware drivers
code (the only part I looked at).
Yes, I've structured most of it in an OO manner, using C.
Collecting state and methods together makes for good encapsulation,
and inheritance and polymorphism are highly useful as well.
If I were starting from scratch I may have made a different choice,
but the use of C makes for better portability to things such as
embedded environment, as well as being a much smaller and easier
language to master, than the monster language that C++ has become
(so many more barrels to shoot ones feet with!)
Graeme Gill.
- References:
- [argyllcms] Re: Is Argyll strictly ANSI C?
- From: Roger Breton
- [argyllcms] Re: Is Argyll strictly ANSI C?
- From: Frédéric Mantegazza
Other related posts:
- » [argyllcms] Is Argyll strictly ANSI C?
- » [argyllcms] Re: Is Argyll strictly ANSI C?
- » [argyllcms] Re: Is Argyll strictly ANSI C?
- » [argyllcms] Re: Is Argyll strictly ANSI C?
- » [argyllcms] Re: Is Argyll strictly ANSI C?
- » [argyllcms] Re: Is Argyll strictly ANSI C?
- [argyllcms] Re: Is Argyll strictly ANSI C?
- From: Roger Breton
- [argyllcms] Re: Is Argyll strictly ANSI C?
- From: Frédéric Mantegazza