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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 03:12:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail From: domin Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Wed, 28 May 2003 12:12:20 +0200 Organization: CI TASK http://www.task.gda.pl Message-ID: References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED3CCAE.C8733E2C@somewhere.nil> NNTP-Posting-Host: domin.ds.pg.gda.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8Bit X-Trace: korweta.task.gda.pl 1054116740 6097 213.192.78.226 (28 May 2003 10:12:20 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Wed, 28 May 2003 10:12:20 +0000 (UTC) User-Agent: KNode/0.7.2 X-X-Jabber-Id: domin@jabber.gda.pl Xref: archiver1.google.com comp.lang.ada:37885 Date: 2003-05-28T12:12:20+02:00 List-Id: Gautier Write-only wrote: > Hey cool! I would add the possibility of nesting several of > such comments, or not, and why not also the { } and (* *) of Pascal. > A pragma would allow ending a { by a *) or */, or not, and ignoring > or not the rest of a line inside a "/*" after a -- (even if it has a */). > Did you understand ? I mean, it's simple. The idea is simple to understand, but using it will be complicated. When I see "--" I know it's a comment, without thinking of any pragmas, comment ending, nesting etc. I'm using Ada because It's clear & well defined, not because it's handy. > And what about including chuncks of code - it would be so cool to > just insert "c:\...\mytools.inc" at some place instead of these packages. Unclear like in C. > Another idea: make some names implicitly type. E.g. I, J5, InJm > and so on are always integers, so why declare them ? In some of my code I used first letter to indicate the type something like Hungarian notation with T. e.g. i - integers, names like iCount, iMoney etc s - string b - boolean f - float It gives the code great clearance, but it would be hard to deal this way with self-defined types. -- Dominik Zab�otny ________________________________________________________________ "the things you own - own you" (c)papa roach