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-Thread: 103376,6bee08c26af9486d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Learning Ada but missing the basics? Date: Wed, 02 Jul 2008 17:54:55 +0200 Message-ID: <6d1mm5Fd2k6U1@mid.individual.net> References: <85e95c57-07c3-42eb-b9b9-eac5fd3d0d65@i76g2000hsf.googlegroups.com> <319201bf-2ac0-4a36-a713-ca1db0326541@d45g2000hsc.googlegroups.com> <486B47F8.80704@obry.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit X-Trace: individual.net fe1wi2iyLDJgrCb2rV5PzArU9mQ/Gv1Tsn7I1nQsWH9E8Cvw8= Cancel-Lock: sha1:Y656rSnJ3t6PwdhSdomx4INOrqM= User-Agent: KNode/0.10.9 Xref: g2news1.google.com comp.lang.ada:985 Date: 2008-07-02T17:54:55+02:00 List-Id: Pascal Obry wrote: > ryan k a écrit : >> Could anyone point me to an SVN repository for a good, well written >> open source Ada application? > > Look at AWS and Templates_Parser code. I have put lot of efforts to be > sure the code is clean, documented and readable. It uses many Ada > features even some Ada 2005 ones (interfaces, object.method notation, > anonymous access...). > > https://libre.adacore.com/aws/ > > If you are adventurous do not hesitate to have a look at the GNAT code > itself. It is quite large but really clean. > > You'll see that on those projects the code quality and style is uniform > in all the sources. This makes a project easier to maintain by a group > of people. No one own (by using weird style for example where other > developers do not feel comfortable) a part of the code. This to say that > there is no ONE good style but most importantly a style must be > followed, uniformity is more important to me. In this regard, gnat style switches are truly useful. I find I've added quite a few over time to my defaults.