comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: How to make Ada popular. Get rid of ";" at end of statement.
Date: Fri, 26 Jul 2019 21:53:40 +0300
Date: 2019-07-26T21:53:40+03:00	[thread overview]
Message-ID: <gq10hkF9hpaU1@mid.individual.net> (raw)
In-Reply-To: <2bede4ed-485b-4edb-9fcf-46f49ff82fb5@googlegroups.com>

On 19-07-25 19:18 , John Perry wrote:
> On Thursday, July 25, 2019 at 2:26:29 AM UTC-5, Maciej Sobczak
> wrote:
    ...
>
>> 2. Again with regard to embedded systems, hardware vendors provide
>> their own IDEs. It's not just about libraries, see above, it's
>> about the whole integrated approach to use the hardware from
>> configuration to synthesis to programming. These IDEs are oriented
>> towards C and C++ and with each new generation using any other
>> language is more and more difficult. That is, it is genuinely
>> *easier* to use C and C++.
>
> I haven't used one of these with C or C++, but I have done some work
> in Java & Kotlin on IntelliJ (Android Studio, though AS seems really
> slow in comparison), and the difference between that IDE and my
> previous setup was an eye-opener. I may embarrass myself here, but I
> was impressed that it reports errors as you type, recommends more
> idiomatic code, even more efficient constructs...

I'm going to sound like an old reactionary fart (come to think of it, 
that may be an accurate description...) but this reminds me that in my 
experience a very large part of coding errors comes from copy-paste, 
where the programmer was not careful to adapt the pasted code to its new 
role and new environment, or simply forgot to do that.

This suggests that some "convenience" features of IDEs and editors may 
be dangerous, if they make it too easy to create masses of code that 
_seems_ correct, because it compiles, but was not really thought out, 
designed, and written carefully.

I would say "yes" to better IDE analysis of errors, but "no" to 
automatically generated recommendations and a strong "no" to automatic 
"fixes". (GPS has an automatic fix feature -- the "wrench" -- but I do 
not often use it because its effect is often not what I want to do.)

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .


  parent reply	other threads:[~2019-07-26 18:53 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
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 [this message]
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