X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f Date: Sat, 14 May 2016 10:32:35 -0400 Message-Id: <201605141432.u4EEWZ9s018507@envy.delorie.com> From: DJ Delorie To: geda-user AT delorie DOT com In-reply-to: <20160514094703.fc95ba64dab2c53b068f260c@gmail.com> (geda-user AT delorie DOT com) Subject: Re: [geda-user] Re: gschem annoyances (C++) References: <154a7fb8d8c-2a04-17506 AT webprd-a31 DOT mail DOT aol DOT com> <20160513081037 DOT GA23474 AT visitor2 DOT iram DOT es> <5735ACC6 DOT 30105 AT iee DOT org> <20160514094703 DOT fc95ba64dab2c53b068f260c AT gmail DOT com> Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Main advantage of object oriented programming is function > overloading and private variables in structures but excess amount of > features stuffed in C++ is really a problem. I think C++ does not > handle polymorphism well. The whole point of C++ is to handle polymorphism well, and it does. For programs like gschem and pcb, which have lots of object types that are "similar but different", an object oriented language like C++ should be an obvious choice. Unfortunately, C++ is a huge toolbox and people think you have to use every tool for every application, which leads to messy code. Please don't assume that's the case, or that C++ code is going to be harder to understand than C. > C/C++ lack good type checking which is a real disadvantage. Well, C maybe, C++ has great support for type checking. You just have to write type-specific code.