comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: MI is sloppy (was: Construction initialization problem)
Date: Sat, 6 Dec 2008 13:35:33 -0800 (PST)
Date: 2008-12-06T13:35:33-08:00	[thread overview]
Message-ID: <cf742525-761f-4c7a-91fe-b06b134f2772@s9g2000prm.googlegroups.com> (raw)
In-Reply-To: op.ulrepfegz25lew@macpro.krischik.com

On 6 Gru, 22:16, "Martin Krischik" <krisc...@users.sourceforge.net>
wrote:

>  From the other examples you habe given I think that you thought to much of  
> stream orientated files - which indeed is not very well suited for  
> simultanious In/Out use.

What's wrong with sockets? They are duplex streams.
You might probably implement them as two separate simplex streams, but
then the concept of *closing* gets unnecessarily complicated.
The analogy with two-way street is also wrong - an optical fiber would
be better, because it is not vulnerable to head-on collisions.

As for the MI, I agree with Dmitry - inheritance should be multiple,
otherwise it is just a special case of something that is fundamentally
more general.
Actually, interfaces are a sloppy escape from real MI. :-)

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com

Database Access Library for Ada: www.inspirel.com/soci-ada



  reply	other threads:[~2008-12-06 21:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-06 10:09 MI is sloppy (was: Construction initialization problem) Dmitry A. Kazakov
2008-12-06 17:16 ` Georg Bauhaus
2008-12-06 21:16   ` Martin Krischik
2008-12-06 21:35     ` Maciej Sobczak [this message]
2008-12-07  9:12   ` MI is sloppy Dmitry A. Kazakov
2008-12-07 15:38     ` Georg Bauhaus
2008-12-07 20:04       ` Dmitry A. Kazakov
2008-12-11  0:40 ` MI is sloppy (was: Construction initialization problem) Randy Brukardt
2008-12-11 10:02   ` MI is sloppy Dmitry A. Kazakov
2008-12-11 21:44     ` Randy Brukardt
2008-12-11 23:17       ` Georg Bauhaus
2008-12-12 10:06         ` Dmitry A. Kazakov
2008-12-12  9:59       ` Dmitry A. Kazakov
2008-12-12 10:50         ` Georg Bauhaus
2008-12-12 11:15           ` Dmitry A. Kazakov
2008-12-12 12:15             ` Georg Bauhaus
2008-12-12 13:35               ` Dmitry A. Kazakov
2008-12-12 14:29                 ` Georg Bauhaus
2008-12-12 14:59                   ` Dmitry A. Kazakov
2008-12-13  0:08                 ` Randy Brukardt
2008-12-13  9:54                   ` Dmitry A. Kazakov
replies disabled

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