X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=UFSxjcpD/v/BtbR1O0IeVaHUi+ssJBpQ6eCbmTp2qqc=; b=iUjV5jjO2YKvfliJD4JOhddXKohQY+eLEGirRtU90tZVGkMDQPEHe7QrcL4+oc7gTc rlIYi/mrDcatDOWon3dBqaepBDlIOeJ6Ho+sijIupisD59a3MRHGkqfxe9iGeQwbnIzo bZtnXWdAYt7BpsJ0KsWkZE2N/mGA1rXkx6CpOGJygYTpO/E5/Nde+4/h81kaNZycpyGf LK786kAowaM3LaGgZ419qZA7r37j8+5Zhp7Lnh+AKSnbCSxvnYDkjT+Pwyl6G4/VqVdf CQaCCSuIt+84JUTzKkPxtacIFD97/Yo/qDx9NzfuR7nxaHptb8chFyQrI8BwhFfRhjb5 DNiQ== X-Received: by 10.194.185.115 with SMTP id fb19mr15352522wjc.19.1445950566263; Tue, 27 Oct 2015 05:56:06 -0700 (PDT) Date: Tue, 27 Oct 2015 13:56:01 +0100 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] home/bkerin/geometry_module branch Message-Id: <20151027135601.e29ffce8f6d52ca922f4b054@gmail.com> In-Reply-To: <20151027121221.GA1736@visitor2.iram.es> References: <20151027120909 DOT 618b904cb2ca498214094247 AT gmail DOT com> <20151027121221 DOT GA1736 AT visitor2 DOT iram DOT es> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 I only had useful comments about programming language and have no idea yet what might be needed for geometry. Nicklas Karlsson