comp.lang.ada
 help / color / mirror / Atom feed
From: John McCabe <john@nospam.assen.demon.co.uk>
Subject: Re: This MIDI stuff, would someone be interested in reviewing my  code?
Date: Mon, 08 Mar 2010 12:30:19 +0000
Date: 2010-03-08T12:30:19+00:00	[thread overview]
Message-ID: <8br9p512t856figp7g41ktr6kgib28nqvd@4ax.com> (raw)
In-Reply-To: a68c04b8-636b-4540-8aab-afc754eb16b9@q15g2000yqj.googlegroups.com

On Mon, 8 Mar 2010 03:52:04 -0800 (PST), Gautier write-only
<gautier_niouzes@hotmail.com> wrote:

>Probably the most urgent thing is to make a package called MIDI, in
>the body of which you hide all the Win32 / C things.
>More precisely:
>- hide the Win32 references
>- use the C strings only in midi.adb
>- define constants, when possible, enumerated types which match
>Win32's
>Otherwise your code will grow into something very, very messy (check
>AdaGIDE's sources as the example of what to be avoided).

Oh - of course. Those things would be the next step. This is just a
little noddy thing to get an idea of how to use it. For what it's
worth though, I've already got loads of examples of what should be
avoided :-}




  reply	other threads:[~2010-03-08 12:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 11:40 This MIDI stuff, would someone be interested in reviewing my code? John McCabe
2010-03-08 11:52 ` Gautier write-only
2010-03-08 12:30   ` John McCabe [this message]
2010-03-08 17:24 ` Jeffrey R. Carter
2010-03-09 10:21   ` John McCabe
2010-03-09 12:10     ` Brian Drummond
2010-03-09 12:26       ` John McCabe
2010-03-09 12:42         ` John McCabe
2010-03-10 11:12           ` Stephen Leake
2010-03-10 12:29             ` John McCabe
2010-03-09 12:24     ` John McCabe
2010-03-09 13:11       ` Martin
2010-03-09 14:00         ` John McCabe
2010-03-13  8:12 ` Christophe Chaumet
2010-03-15 11:35   ` John McCabe
replies disabled

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