From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: How to make Ada popular. Get rid of ";" at end of statement. Date: Fri, 26 Jul 2019 21:53:40 +0300 Organization: Tidorum Ltd Message-ID: References: <5d9a8728-3c5b-4caf-b765-a455ba4d3523@googlegroups.com> <5fb45b9c-d7da-447c-999e-0e8bcce2eed5@googlegroups.com> <1dc13d50-7606-4530-b5cc-19e07b4d4938@googlegroups.com> <2bede4ed-485b-4edb-9fcf-46f49ff82fb5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net YEI1B+z3wLoLKdeD0mQjCgYzYtMcD4a2HObLS+OQW0QXAgwWSv Cancel-Lock: sha1:h06632uPg/4v9P+CX0k6EFTTeeo= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <2bede4ed-485b-4edb-9fcf-46f49ff82fb5@googlegroups.com> Xref: reader01.eternal-september.org comp.lang.ada:56959 Date: 2019-07-26T21:53:40+03:00 List-Id: 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 . @ .