comp.lang.ada
 help / color / mirror / Atom feed
From: John Perry <john.perry@usm.edu>
Subject: Re: How to make Ada popular. Get rid of ";" at end of statement.
Date: Wed, 24 Jul 2019 07:06:05 -0700 (PDT)
Date: 2019-07-24T07:06:05-07:00	[thread overview]
Message-ID: <5fb45b9c-d7da-447c-999e-0e8bcce2eed5@googlegroups.com> (raw)
In-Reply-To: <5d9a8728-3c5b-4caf-b765-a455ba4d3523@googlegroups.com>

On Tuesday, July 23, 2019 at 4:58:12 PM UTC-5, Ingo M. wrote:
> Am Freitag, 19. Juli 2019 23:42:00 UTC+2 schrieb Nasser M. Abbasi:
> > "Part of the reason for Python’s popularity is that it
> > gets rid of the annoying conventions of other languages, such as
> > using semicolons to indicate the end of a statement.
> 
> Python is popular because it is the "Basic" of our time. Basic was popular in the 70s because it was easy to handle for beginners who wanted to learn programming. Javascript (the "Basic" for the Web) is more complex for beginners since it requires basic knowledge how to deal with a web server. So Python is a good language for education.

In support of this assertion, I submit that the main reasons for Python's popularity are:

1) Variable types don't have to be declared.

2) Code doesn't have to compile.

3) The code is written for situations where there are no bad consequences if the system crashes.

[Java requires types and compilation. I don't know about #3, but I remember that it used to come with a warning that you shouldn't use it in critical places like, say, trains, planes, and nuclear plants. (IIRC the warning on "nuclear plants" was explicit.)]

4) You don't care that much about speed.

5) You don't need any parallelism that isn't built-in, or isn't available through a module programmed in another language. (See: Global Interpreter Lock.)

I know many programmers who use this model: start with Python; if it's too slow, try compiling with Cython; if it's still too slow, assign types to certain variables; if it's still too slow, analyze the algorithm; if it's still too slow, think about implementing it in C or C++.

> So I'd like to make a suggestion: Remove ";" from Ada.

Won't make a dent in Ada's popularity.

The bandwagon effect is a really big deal: almost everyone who has heard of Ada, has heard that DoD commissioned it, and that most people dislike it. That's about it. Ask for a concrete example why they dislike it, and you'll probably get, "It's complicated."

Anyone who's actually used Ada these days might reply, "Complicated? Compared to what, C++?"

The one concrete reason I've ever heard for using C or C++ instead of Modula-2 or Ada is that C/C++ allow you to perform pointer arithmetic, which one person I spoke to thought was essential for his work. I don't know enough about Ada to know how to address his situation, but even if it did allow it, I don't think it would matter.

I had a conversation with a computer science professor the other day about security in automobiles, where a lot of people are using C or C++. At the end I asked why they don't use Ada, and if I could distill the answer, it was that Ada is perceived as passé, sort of like working as a comedian without relying on profanity: good luck with that career. Sure, you *can* do it, but almost no one does, because... well, "it's complicated."

john perry


  parent reply	other threads:[~2019-07-24 14:06 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 21:41 How to make Ada popular. Get rid of ";" at end of statement Nasser M. Abbasi
2019-07-19 22:09 ` Dmitry A. Kazakov
2019-07-20  6:47   ` J-P. Rosen
2019-07-20  8:42     ` Paul Rubin
2019-07-21  5:11       ` J-P. Rosen
2019-07-23  9:24         ` darek
2019-07-20 17:08     ` Stéphane Rivière
2019-07-20 13:46   ` Dennis Lee Bieber
2019-07-20  0:47 ` Matt Borchers
2019-07-20 13:54   ` Dennis Lee Bieber
2019-07-20 14:40 ` Stephen Davies
2019-07-20 15:45   ` Optikos
2019-07-20 17:24     ` joviangm
2019-07-20 19:10       ` Optikos
2019-07-20 19:17         ` AdaMagica
2019-07-20 22:25           ` Paul Rubin
2019-07-20 23:08           ` Optikos
2019-07-20 22:24         ` Paul Rubin
2019-07-20 21:14   ` Keith Thompson
2019-07-23 21:58 ` Ingo M.
2019-07-23 23:56   ` Paul Rubin
2019-07-24 14:06   ` John Perry [this message]
2019-07-24 14:51     ` Ingo M.
2019-07-24 15:29       ` Dmitry A. Kazakov
2019-07-25 10:58         ` Ingo M.
2019-07-25 12:16           ` Dmitry A. Kazakov
2019-07-26 10:54           ` antispam
2019-07-26 11:35             ` Niklas Holsti
2019-07-26 16:07               ` Simon Wright
2019-07-24 19:52       ` Ingo M.
2019-07-24 20:31         ` J-P. Rosen
2019-07-25 13:34           ` gautier_niouzes
2019-07-25  7:26     ` Maciej Sobczak
2019-07-25 10:47       ` Ingo M.
2019-07-25 16:18       ` John Perry
2019-07-25 18:31         ` Dennis Lee Bieber
2019-07-26 18:04         ` Shark8
2019-07-26 18:53         ` Niklas Holsti
2019-07-26 19:16       ` Niklas Holsti
2019-07-27  1:27       ` Lucretia
2019-07-27  1:34         ` Keith Thompson
2019-07-27  3:11           ` Randy Brukardt
2019-07-27  4:06             ` Keith Thompson
replies disabled

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