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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a92e43963a6b930f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!c33g2000yqm.googlegroups.com!not-for-mail From: Britt Snodgrass Newsgroups: comp.lang.ada Subject: Re: N best things about Ada? Date: Tue, 13 Jul 2010 20:00:29 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8758b63b-ef81-4613-8abd-4af68aeb68a4@c33g2000yqm.googlegroups.com> References: <97691fd2-7411-4ccc-bc7b-290aca633cd5@z30g2000prg.googlegroups.com> <4C3CB90E.70602@obry.net> NNTP-Posting-Host: 209.252.170.138 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1279076430 19044 127.0.0.1 (14 Jul 2010 03:00:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 14 Jul 2010 03:00:30 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c33g2000yqm.googlegroups.com; posting-host=209.252.170.138; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12407 Date: 2010-07-13T20:00:29-07:00 List-Id: On Jul 13, 8:12=A0pm, BrianG wrote: > > I've always wondered - what would these languages do with a program the > has a mix of space-for-indent and tab-for-indent? =A0Assuming that can > even happen. > > I'm constantly running into these, because of different people editing > using different editors. =A0Usually it's someone else's, where they didn'= t > notice that the published final code looks terrible (obviously not in > Python). With GNAT and the -gnatyh switch, the compiler will issue a warning if it encounters tabs in source code. Our coding standard "requires" users to set the "convert tabs to spaces" and the "trim trailing spaces" settings in whatever editor they use (usually GPS, GNATbench, or UltraEdit) We also use the ASIS based gnatcheck (coding standard checker) and gnatpp (pretty printer) to check and standardize source code format for our Ada projects. I suspect other languages don't have such good utilities since they have no equivalent to ASIS (that I'm aware of). > > Is F# a version of Fortran for .Net? =A0:-) =A0(Like A#.) =A0Or is it For= th? > Neither. It seems to be Microsoft's attempt at yet another functional language (YAFL). - Britt