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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,73f81e5f5d6ee80f X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!s9g2000prm.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: MI is sloppy (was: Construction initialization problem) Date: Sat, 6 Dec 2008 13:35:33 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <493ab375$0$31872$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 85.3.212.69 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1228599334 23974 127.0.0.1 (6 Dec 2008 21:35:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 6 Dec 2008 21:35:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000prm.googlegroups.com; posting-host=85.3.212.69; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2907 Date: 2008-12-06T13:35:33-08:00 List-Id: On 6 Gru, 22:16, "Martin Krischik" wrote: > =A0From the other examples you habe given I think that you thought to muc= h of =A0 > stream orientated files - which indeed is not very well suited for =A0 > 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