comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: Teaching C/C++ from Ada perspective?
Date: Mon, 9 Jul 2018 09:35:04 -0700 (PDT)
Date: 2018-07-09T09:35:04-07:00	[thread overview]
Message-ID: <b3aaff7b-8930-4d87-9a49-a569e29118bb@googlegroups.com> (raw)
In-Reply-To: <5a381f9e-85ed-4283-96c0-d49d30c0971b@googlegroups.com>

On Sunday, July 8, 2018 at 3:43:48 PM UTC-5, Maciej Sobczak wrote:
> … if the only thing you have on offer is the unprecedented hatred towards C++

I don't hate C++.  My curation of a set of maps to where C++'s landmines are doesn't mean that I •hate• the soil that I walk on; it means that I •love• having both of my legs still attached to my body.

On Monday, July 9, 2018 at 1:13:02 AM UTC-5, Maciej Sobczak wrote:
> On Sunday, July 8, 2018 at 6:17:26 PM UTC-5, Dan'l Miller wrote:
> > On Sunday, July 8, 2018 at 3:43:48 PM UTC-5, Maciej Sobczak wrote:
> > > You might consider C
> > 
> > You misspoke there:  C++, not C.
> 
> Actually, no, I really meant C, not C++
>
> > > to be an ultimate disaster, especially when regarded from the Steelman perspective. 

No, other than C99's restrict keyword being utilized by human beings instead of code generators, I have no strongly-held ill feelings regarding C.  For the problem space that C tries to occupy, C rates a 5 out of 10, I think.  I think that C should have been quite different though.  C's structured-programming-era mission should have been something closer to Robert DeWar's hardware-agnostic assembly language (see below), not C's (mis)applying/force-fitting PDP/11 assembly-language semantics onto all other processors.

Robert B. K. Dewar; Anthony P. McCann (1979). MINIMAL - A Machine Independent Assembly Language. Computer Science Department Technical Report. No. 12. Courant Institute of Mathematical Sciences.

No, the ultimate disaster was having any amount of C compatibility whatsoever in C++ as a wobbly foundation.  Despite its weak-typing looseness flaws, C is a notable 1970s engineering achievement in •minimalism• that did not need C++'s accretions at all to make C not-minimal.  Why accrete •partial• strong typing & a Turing-complete template-engine onto a •minimalistic• weakly-typed language?  That opposite-of-minimalism doesn't even sound like C at all!  That amalgamation doesn't even pass the sniff test for a language that actually facilitates software engineering!  But by golly, that is what the software industry spent untold hundreds of millions (billions?) of dollars doing as its primary activity for over 30 years, except for parade of all the C-esque-syntaxed Bullwinkle* languages that seek to be a critique-of-C++/C++-done-right which has been yet another sequence of ratholes to pour a misspent hundreds of millions of dollars too, trying to rectify the C-is-a-wobbly-foundation bad idea.

* “This time for sure!” https://www.youtube.com/watch?v=jYMkuOUAg3M&frags=pl%2Cwn

C's involvement with C++ should have been limited to being the backend of cfront. “"Within C++, there is a much smaller and cleaner language struggling to get out” [due in large part to the gratuitous C-syntactic compatibility] —Bjarne Stroustrup _Design and Evolution of C++_ (1994) page 207 when describing his desire for an R1000-esque system for C++ not reliant on repeated textual re-processing

> > You say this only because not one single entity on the planet ever wrote another/better set of
> > requirements of what is and is not a scientifically-based measurement system of a programming
> > language that facilitates software engineering. 
>
> I have explained that I don't need a *single* measure and since the art of software engineering is
> apparently multi-dimensional, I don't expect a *single* measure to exist in the first place. And if you want
> something "better", you first need another measure to objectively compare different measures in order
> to decide which measure is better.

Well, now there you said something in the vicinity of something with which I agree wholeheartedly:  the SI reference meter rod in Paris is only as good as our ability to empirically quantitatively observe & calculate its fidelity of straightness versus its bentness toward deviance.

Software engineering does in fact need a way to empirically quantitatively observe & calculate fidelity of straightness versus bentness toward deviance.

> Sorry, this discussion is not useful.

Perhaps not to you, but it has been to me:  studying the causes & symptoms of deviance.


  reply	other threads:[~2018-07-09 16:35 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-30 18:04 Teaching C/C++ from Ada perspective? kouaoua16
2018-06-30 18:15 ` Luke A. Guest
2018-06-30 19:27   ` Dan'l Miller
2018-06-30 19:07 ` Dan'l Miller
2018-07-01 16:12 ` kouaoua16
2018-07-01 17:08   ` Luke A. Guest
2018-07-01 19:19     ` Dan'l Miller
2018-07-02  6:12       ` Maciej Sobczak
2018-07-01 20:52 ` Maciej Sobczak
2018-07-01 21:35   ` Dan'l Miller
2018-07-02  5:56     ` Maciej Sobczak
2018-07-02  9:58       ` Marius Amado-Alves
2018-07-02 11:03         ` Maciej Sobczak
2018-07-02 13:52           ` Marius Amado-Alves
2018-07-04 12:10             ` Dan'l Miller
2018-07-02 20:14         ` Paul Rubin
2018-07-03  9:48           ` Marius Amado-Alves
2018-07-04  2:52             ` Paul Rubin
2018-07-02 18:52       ` Dan'l Miller
2018-07-03  8:00         ` Maciej Sobczak
2018-07-03 12:40           ` Dan'l Miller
2018-07-03 20:54             ` Maciej Sobczak
2018-07-04  3:10               ` Dan'l Miller
2018-07-04  7:59                 ` Maciej Sobczak
2018-07-04  8:37                   ` Marius Amado-Alves
2018-07-04 12:22                     ` Maciej Sobczak
2018-07-04 14:13                       ` Simon Wright
2018-07-04 14:56                         ` Maciej Sobczak
2018-07-04 15:52                           ` Dmitry A. Kazakov
2018-07-04 16:24                             ` Alejandro R. Mosteo
2018-07-04 20:00                               ` Jeffrey R. Carter
2018-07-05 18:35                                 ` Randy Brukardt
2018-07-05 19:39                                   ` Jeffrey R. Carter
2018-07-06 18:45                                     ` Randy Brukardt
2018-07-04 20:13                             ` Maciej Sobczak
2018-07-04 21:09                               ` Dmitry A. Kazakov
2018-07-05  5:49                                 ` Maciej Sobczak
2018-07-05  7:37                                   ` Dmitry A. Kazakov
2018-07-05 13:14                                     ` Maciej Sobczak
2018-07-05 15:18                                       ` Dmitry A. Kazakov
2018-07-05 19:16                                       ` Randy Brukardt
2018-07-07 15:09                                         ` Lucretia
2018-07-05 19:12                                     ` Randy Brukardt
2018-07-05 20:10                                       ` Maciej Sobczak
2018-07-06 19:01                                         ` Randy Brukardt
2018-07-06 19:35                                           ` Dmitry A. Kazakov
2018-07-05  7:43                                   ` Alejandro R. Mosteo
2018-07-05 18:53                                   ` Randy Brukardt
2018-07-05 19:06                                     ` Dan'l Miller
2018-07-06 18:47                                       ` Randy Brukardt
2018-07-05 20:12                                     ` Maciej Sobczak
2018-07-06 18:51                                       ` Randy Brukardt
2018-07-06 19:43                                         ` Dmitry A. Kazakov
2018-07-06 20:18                                           ` Dan'l Miller
2018-07-07  8:39                                             ` Dmitry A. Kazakov
2018-07-07 11:53                                           ` Björn Lundin
2018-07-06 20:22                                         ` Maciej Sobczak
2018-07-06 23:26                                           ` Paul Rubin
2018-07-07  6:17                                             ` J-P. Rosen
2018-07-07  6:37                                               ` Micronian Coder
2018-07-07  8:48                                                 ` Privacy and child packages (Was: Teaching C/C++ from Ada perspective?) Jacob Sparre Andersen
2018-07-07 20:19                                               ` Teaching C/C++ from Ada perspective? Maciej Sobczak
2018-07-08 15:25                                           ` Simon Wright
2018-07-08 20:00                                             ` Maciej Sobczak
2018-07-09  9:04                                               ` Alejandro R. Mosteo
2018-07-05 15:30                               ` Dan'l Miller
2018-07-05 20:38                                 ` Maciej Sobczak
2018-07-05 21:05                                   ` Dan'l Miller
2018-07-05 18:47                               ` Randy Brukardt
2018-07-04 16:01                           ` Simon Wright
2018-07-04 17:12                           ` G. B.
2018-07-04 20:18                             ` Maciej Sobczak
2018-07-04 21:03                               ` G.B.
2018-07-04 17:21                           ` Dan'l Miller
2018-07-04 20:36                             ` Maciej Sobczak
2018-07-04 22:44                               ` Dan'l Miller
2018-07-05  2:01                                 ` Luke A. Guest
2018-07-05  5:03                                   ` Dan'l Miller
2018-07-05  5:58                                 ` Maciej Sobczak
2018-07-05 19:25                                   ` Randy Brukardt
2018-07-05 19:22                                 ` Randy Brukardt
2018-07-05 18:31                       ` Randy Brukardt
2018-07-06  3:32           ` Dan'l Miller
2018-07-06 12:05             ` Dan'l Miller
2018-07-06 20:42             ` Maciej Sobczak
2018-07-06 21:32               ` Dan'l Miller
2018-07-07 20:43                 ` Maciej Sobczak
2018-07-08 17:36                   ` Dan'l Miller
2018-07-08 18:39                     ` Bill Findlay
2018-07-08 19:28                       ` Dan'l Miller
2018-07-09 12:34                         ` Bill Findlay
2018-07-09 15:19                           ` Dan'l Miller
2018-07-09 19:34                             ` Bill Findlay
2018-07-09 22:03                               ` Dan'l Miller
2018-07-09 22:35                                 ` Bill Findlay
2018-07-10  1:56                                   ` Lucretia
2018-07-10 23:14                         ` Randy Brukardt
2018-07-11 14:05                           ` Dan'l Miller
2018-07-11 20:20                             ` Randy Brukardt
2018-07-08 20:43                     ` Maciej Sobczak
2018-07-08 23:17                       ` Dan'l Miller
2018-07-09  6:13                         ` Maciej Sobczak
2018-07-09 16:35                           ` Dan'l Miller [this message]
2018-07-10 23:20                       ` Randy Brukardt
2018-07-10 23:51                         ` Britt
2018-07-02 17:10   ` kouaoua16
2018-07-02 17:28     ` Dennis Lee Bieber
2018-07-02 18:22     ` Maciej Sobczak
2018-07-02 20:27     ` G.B.
2018-07-02  0:11 ` Paul Rubin
2018-07-02 14:26 ` kouaoua16
2018-07-02 19:57 ` G.B.
2018-07-02 20:17   ` Dan'l Miller
2018-07-03  9:56 ` Brian Drummond
2018-07-04 12:18 ` Olivier Henley
2018-07-04 14:17   ` kouaoua16
2018-07-12  5:38 ` robin.vowels
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox