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!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!eu.feeder.erje.net!feeder.erje.net!us.feeder.erje.net!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews!core-easynews-01!easynews.com!en-nntp-12.dc1.easynews.com.POSTED!not-for-mail From: agent@drrob1.com Newsgroups: comp.lang.ada Subject: Re: need help learning Ada for a modula-2 programmer Message-ID: References: User-Agent: ForteAgent/7.20.32.1218 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@easynews.com Organization: Forte Inc. http://www.forteinc.com/apn/ X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Mon, 03 Feb 2014 18:12:00 -0500 X-Received-Bytes: 1683 Xref: news.eternal-september.org comp.lang.ada:18360 Date: 2014-02-03T18:12:00-05:00 List-Id: On Wed, 29 Jan 2014 12:15:58 +0000, Mike H wrote: >In message , >Jerry writes >>When I started Ada, learning about strings and subtypes were the two >>most important concepts that got me writing basic code effectively. (I >>could add, Ada's most excellent approach to variable-length arrays.) >> >I agree, approaching string types as being no different from other forms >of array types (and vice-versa) is the right way to go in Ada. > This misunderstands where I am coming from. To me, Ada is a second language. I am used to how Modula-2 treats strings, which is the same as C, by null terminating them. So Ada standard (fixed) string types are quite different than that.