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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: If not Ada, what else... Date: Tue, 28 Jul 2015 08:30:36 +0100 Organization: A noiseless patient Spider Message-ID: References: <65061686-5c8f-433b-9b11-9e228298158e@googlegroups.com> <87k2u96jms.fsf@jester.gateway.sonic.net> <06f8a6f9-d219-4d40-b9ac-8518e93839bd@googlegroups.com> <87y4io63jy.fsf@jester.gateway.sonic.net> <7a29d3e9-d1bd-4f4a-b1a6-14d3e1a83a4d@googlegroups.com> <87mvz36fen.fsf@jester.gateway.sonic.net> <2215b44f-8a89-47c6-a4c4-52b74d2dac45@googlegroups.com> <9e492c82-868d-43d3-a18a-38274400e337@googlegroups.com> <40184feb-4053-4ac3-8eaa-c3bd9cd8a77c@googlegroups.com> <10272577-945f-4682-85bc-8ad47f3653ae@googlegroups.com> <87si8i81k2.fsf@atmarama.net> <1gsux33dqvjbp$.h0prf7p7g2vn.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="0b8a1d07de517ba95be21a60d7133ef5"; logging-data="30230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/POes3BLfoXowXG0slf5HgC0zNbpjbkHE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:OkyHzI7rwiiBFzyznSjQ6Fazx0E= sha1:Bal7Rs+TRLILM4YfFs7I9+FZHjc= Xref: number.nntp.giganews.com comp.lang.ada:194378 Date: 2015-07-28T08:30:36+01:00 List-Id: "Randy Brukardt" writes: > "Simon Wright" wrote in message > news:lyegk1jk41.fsf@pushface.org... > ... >>> Why repeating this flawed syntax for classes? It is again about >>> fundamentals, privacy is not a type property. It is of a module. >> >> Well, as far as I can see protected types, tasks and (in this >> not-to-be-taken-seriously proposal) classes are modules, in a way. > > Why use "sort-of modules" when Ada already has strong, well-designed > modules? That's the main argument given by the Ada 9x team, and I for > one have a hard time arguing that. What I meant was that protected types, in particular, already have private parts which are textually, but not programmatically, visible in the public part of packages.