comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: I need feedback
Date: Tue, 14 Jun 2011 23:50:58 +0200
Date: 2011-06-14T23:50:58+02:00	[thread overview]
Message-ID: <87aadk5bgd.fsf@ludovic-brenta.org> (raw)
In-Reply-To: de54061a-6974-4767-bcfd-2e20fc180f33@v18g2000yqe.googlegroups.com

juanmiuk <juanmiuk@googlemail.com> writes:
> My name is Juan Miguel and I have ADHD. Since I have long wanted to
> learn Ada but I could not learn, because the medication was not
> correct and I could not concentrate properly. I returned to writing
> simple programs to get base. All I want is to tell me how I am doing.
> Thanks in advance.

You're doing great.  I think your next step will be to turn
Formateo_Salida_1 and Formateo_Salida_2 into one subprogram taking three
parameters.

Also, you do not need parentheses around conditions:

if (A >= B) then

can also be written as

if A >= B then

One last remark: personally, I have found that mixing the English
keywords of Ada with non-English names distracts me when reading the
source.  I prefer everything to be in English even though it is not my
native language; you should experiment with that and see if that helps
you concentrate.

-- 
Ludovic Brenta.



  reply	other threads:[~2011-06-14 21:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 21:12 I need feedback juanmiuk
2011-06-14 21:50 ` Ludovic Brenta [this message]
2011-06-15  9:10   ` Pascal Obry
2011-06-15 11:40   ` Yannick Duchêne (Hibou57)
2011-06-15 19:38     ` Shark8
2011-06-16  4:24       ` juanmiuk
2011-06-16  7:34         ` Ludovic Brenta
2011-06-14 23:16 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox