From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: A curiosity...
Date: Thu, 4 Dec 2008 16:30:09 -0600
Date: 2008-12-04T16:30:09-06:00 [thread overview]
Message-ID: <gh9lmk$hih$1@munin.nbi.dk> (raw)
In-Reply-To: a88dafcc-04d0-4a46-a168-7cb034894181@k41g2000yqn.googlegroups.com
"mockturtle" <framefritti@gmail.com> wrote in message
news:a88dafcc-04d0-4a46-a168-7cb034894181@k41g2000yqn.googlegroups.com...
...
> Few days ago a formerly student of mine came to
> ask me something about (C) threads. She showed
> me a tutorial she found somewhere (unfortunately
> I do not know where, so I cannot give you any
> reference).
...
> Excuse me while I turn the heat up... I suddenly
> feel a chill down my spine.... ;-)
I thought you were going to show her (and us) the proper Ada way to do this.
Otherwise, I think I'm missing your point. Every C-language interface that
I've every used (the most important being Win32) is full of hacks to get
around strong typing. This isn't news, or even a reflection on the C
language itself. Claw is full of similar hacks (in Ada!) in order to use
Win32 properly.
The best thing to do with almost any C-language interface is to wrap it as
thickly as possible to cover up as much as possible of that cruft. That's
irrespective of the implementation language (why do you think MFC was so
widely used??). Perhaps C programmers are so used to cruft that they fail to
abstract it away properly, but that reflects more on the programmers (and
the culture that they work it) than the language.
Randy.
next prev parent reply other threads:[~2008-12-04 22:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 20:47 A curiosity mockturtle
2008-12-04 21:17 ` Adam Beneschan
2008-12-04 21:48 ` Hyman Rosen
2008-12-04 22:04 ` Ludovic Brenta
2008-12-04 22:10 ` Ludovic Brenta
2008-12-04 22:24 ` Hyman Rosen
2008-12-05 8:02 ` Samuel Tardieu
2008-12-05 11:51 ` Peter C. Chapin
2008-12-05 13:09 ` Martin Krischik
2008-12-05 15:15 ` Hyman Rosen
2008-12-06 13:26 ` Peter C. Chapin
2008-12-05 16:37 ` Keith Thompson
2008-12-04 22:19 ` Hyman Rosen
2008-12-05 9:03 ` Georg Bauhaus
2008-12-04 22:30 ` Randy Brukardt [this message]
2008-12-04 22:57 ` Hyman Rosen
2008-12-05 16:42 ` Keith Thompson
2008-12-05 16:57 ` Hyman Rosen
2008-12-05 20:20 ` Keith Thompson
2008-12-05 20:59 ` Adam Beneschan
2008-12-06 22:53 ` Hyman Rosen
2008-12-06 23:15 ` Gary Scott
2008-12-08 15:39 ` Hyman Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox