[sdiy] OBJECT ORIENTED C in synth programming
Eric Brombaugh
ebrombaugh1 at cox.net
Fri Apr 8 20:02:33 CEST 2011
On 04/08/2011 10:49 AM, Ben Lincoln wrote:
> I'm not seeing any OO aspects in the examples you sent.
Agree.
> My understanding
> is that you need to be working with C++ (not just plain old C) to get
> actual OO capabilities.
Not true. It's possible to do OO in plain old C, but you have to do a
lot of the legwork explicitly. C++, Java, etc are nice in that they
handle a lot of the low-level details for you, but they're not required
for the general practice.
> A struct, for example, is just a way of organizing sets of data together
> as a group. You can use those in OO or non-OO code. I would be shocked if
> any decent book on C programming didn't include a discussion of structs.
Agree.
Eric
More information about the Synth-diy
mailing list