X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Envelope-From: paubert AT iram DOT es Date: Tue, 27 Oct 2015 13:12:21 +0100 From: "Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com]" To: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] home/bkerin/geometry_module branch Message-ID: <20151027121221.GA1736@visitor2.iram.es> References: <20151027120909 DOT 618b904cb2ca498214094247 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151027120909.618b904cb2ca498214094247@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spamina-Bogosity: Unsure X-Spamina-Spam-Score: -1.0 (-) X-Spamina-Spam-Report: Content analysis details: (-1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: delorie.com] -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.2220] 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 On Tue, Oct 27, 2015 at 12:09:09PM +0100, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > In short C++ objects are called "class" and may be used almost or exactly as a C struct. Largest improvement with C++ are variables within an object which fulfil similar functionality to a C struct may be private and only accessed with functions belonging to object. > > Polyformism may also be an improvement there may for example be a function to move an object with different implementations depending for different object types. Polymorfism in C++ are however far as I understand not handled as in other object oriented languages, it is easy to screw things up. > > I don't like C++ either but it is an improvement. I like ADA better. Nobody prevents you from rewriting PCB in Ada ;-) and yes I agree with you wrt Ada vs C++. But the CGAL library really seems very heavyweight. Half a million lines of include is a lot. Strange enough, the cgal package itself is reasonable, that's the development which is huge. The dependency list (boost, mesa, gmp) and the list of files (https://packages.debian.org/sid/amd64/libcgal-dev/filelist) make me cringe (for a start: what are these cmake files for?). Gabriel