www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/05/14/03:49:57

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-transfer-encoding;
bh=oizN7GNW24FkL38ooOge7a8NKj/ZW2DN/zHZxeP6wjA=;
b=i5R/F1fj8O0cv0v3lL1QeuS5EP7d2YSLYRAatHUsD0f8zDCmqmg0zuDchdSyxVeeIA
ORPvAEfNsnATnxctVJ0oDk2vg2f7eioNWvsqAdByWf6BTUzbZfA6DeESvvlKRzU/9kwt
0ocEWFwiPu2647lAhvAiCZEF4G4odPrf/07xKDuEYXiyp3ifvZmtFZ8o1WBFnT11HhrU
e/mXOA1/22DwU7w4RbCxdpHNbCV+UyqjWVjjCdOvoCbVF4lLNTYFzQY92JczQpZIsr01
pQPh3ZlpeKT1RmUG8jTpFAiixlMuC0DnNRY8mpulkM0wRSo8DwtTN/88tYsPQAiMfC7Z
NfSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-transfer-encoding;
bh=oizN7GNW24FkL38ooOge7a8NKj/ZW2DN/zHZxeP6wjA=;
b=PX5u/GKzm2EsYMWJF7hWb65sI/VlQ64R66X0wtoPUg4nHCwQVD5p/iJRhi2Zdta9Lu
eC0sGTY5q7joHhN3jlxsR9h3IXTfJY+7ISOJT8cpv4Vv+RjiiWi39pDZIdNpQcNOQg6K
Ak490vwdx0kT+jqBN9gi6U5K1t1SSQoivlC299gAQc5liZXhZmlD6kJYpmIbsH71NdE6
thVKwDo5SfWzj6d6eOkkVltir7GMy+JvNi5DqKA3bwwrVJfrD0psPN852Y7hgfQ9BkHn
cWzOCDQwGGZ/2GX6OTE2sAc/GR5/P2ESX4eaEdqp/922aHjU7xE7WXbenPulOmqgOA+W
07Sg==
X-Gm-Message-State: AOPr4FWhsMiFafq65musdAnRmZ0QPDsVFMrPsb1rfKRo7lfPmhd2EBckjvb2YNSPxfyW0g==
X-Received: by 10.194.246.3 with SMTP id xs3mr22225250wjc.66.1463212029637;
Sat, 14 May 2016 00:47:09 -0700 (PDT)
Date: Sat, 14 May 2016 09:47:03 +0200
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Re: gschem annoyances (C++)
Message-Id: <20160514094703.fc95ba64dab2c53b068f260c@gmail.com>
In-Reply-To: <alpine.DEB.2.00.1605140519090.28818@igor2priv>
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>
<alpine DOT DEB DOT 2 DOT 00 DOT 1605140519090 DOT 28818 AT igor2priv>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
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

> > The argument of switching to C to c++ barely exists .. the languages are
> > comparable, with the added benefit of more features in C++ than pure C.
> >
> 
> Pretty much up to personal preference.
> 
> Personal preferences: for me and some others, the C vs. C++ barely exists 
> because we find C a much better choice than C++. One of the reasons is 
> exactly the excess amount of feature stuffed in C++, which we think is not 
> a benefit but a drawback.

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.

C/C++ lack good type checking which is a real disadvantage.

Type checking must be rather simple to implement and should be expected from any modern computer language. For example for enumerated values or to tell this variable is for a physical value with a particular unit.


Nicklas Karlsson

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019