-
Path: news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!n
ews-in-01.newsfeed.easynews.com!easynews!core-easynews-01!easynews.com!en-nntp-
03.dc1.easynews.com.POSTED!not-for-mail
From: A.L. <l...@a...com>
Newsgroups: pl.comp.programming
Subject: Re: Dalej o OO, jezykach itede
Message-ID: <h...@4...com>
References: <q...@4...com>
<5...@p...googlegroups.com>
<iod06d$5o5$1@inews.gazeta.pl>
<9...@p...googlegroups.com>
<j...@4...com>
<iof97e$sh1$1@inews.gazeta.pl>
<0...@4...com>
<iofh4p$rdg$1@inews.gazeta.pl>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
Lines: 32
X-Complaints-To: a...@e...com
Organization: Forte Inc. http://www.forteinc.com/apn/
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will
be unable to process your complaint properly.
Date: Sun, 17 Apr 2011 16:26:29 -0500
Xref: news-archive.icm.edu.pl pl.comp.programming:189975
[ ukryj nagłówki ]On Sun, 17 Apr 2011 21:04:41 +0100, Andrzej Jarzabek
<a...@g...com> wrote:
>Więc ja spytam tak samo: co ma piernik do wiatraka, czyli to, że
>"information hiding" jest opisane w publikacji Panasa z tym, czy
>public/private ma czy nie ma czegoś wspólnego z OO?
>
>Jeśli się nie mylę, Simula-67 miała możliwość ukrywania atrybutów klas.
>Co pisze na ten temat Ole-Johan Dahl:
>http://www-sst.informatik.tu-cottbus.de/~db/doc/Peo
ple/Broy/Software-Pioneers/Dahl_new.pdf
>"The class concept as it was formulated originally was too permissive
>for the purpose of developing large systems. There was no means of
>enforcing a programming discipline protecting local class invariants
>(such as those expressed verbally for the Simulation class example).
>This was pointed out by Jacob Palme of the Swedish defence research
>institute. He proposed hiding mechanisms for protecting variable
>attributes from unauthorised updating. The proposal was approved by the
>SSG as the last addition ever to the language."
>[...]
>"It was Tony Hoare who [...] expressed requirements for the concrete
>operations to correctly represent the corresponding abstract ones.
>Clearly, in order to enforce the use of abstract object views, read
>access to variable attributes would also have to be prevented."
No i co z tego?... Ukrywanie czegokolwiek nie jest do OO neizbedne,
ani nei jest wyznacznikiem tego czy cos jest OO czy nie. Rownie nie
jest niezbedne posiadanie klas czy dziedziczenia.
A.L.
P.S. By the way, "information hiding" zostalo dodane w ostatniej
wersji standardu Simuli
Następne wpisy z tego wątku
- 17.04.11 22:06 Andrzej Jarzabek
- 17.04.11 23:41 A.L.
- 18.04.11 07:28
- 18.04.11 07:52 Daniel Janus
- 18.04.11 13:37
- 18.04.11 13:51
- 18.04.11 14:34 Andrzej Jarzabek
- 18.04.11 14:43 Jędrzej Dudkiewicz
- 19.04.11 08:02 Maciej Sobczak
Najnowsze wątki z tej grupy
- TCL - problem z escape ostatniego \ w nawiasach {}
- Nauka i Praca Programisty C++ w III Rzeczy (pospolitej)
- testy-wyd-sort - Podsumowanie
- Tworzenie Programów Nieuprzywilejowanych Opartych Na Wtyczkach
- Do czego nadaje się QDockWidget z bibl. Qt?
- Bibl. Qt jest sztucznie ograniczona - jest nieprzydatna do celów komercyjnych
- Co sciaga kretynow
- AEiC 2024 - Ada-Europe conference - Deadlines Approaching
- Jakie są dobre zasady programowania programów opartych na wtyczkach?
- sprawdzanie słów kluczowych dot. zła
- Re: W czym sie teraz pisze programy??
- Re: (PDF) Surgical Pathology of Non-neoplastic Gastrointestinal Diseases by Lizhi Zhang
- CfC 28th Ada-Europe Int. Conf. Reliable Software Technologies
- Młodzi programiści i tajna policja
- Ada 2022 Language Reference Manual to be Published by Springer
Najnowsze wątki
- 2024-10-03 Blokowanie informacji - test
- 2024-10-02 Warszawa => Fullstack Developer <=
- 2024-10-02 Katowice => QA Engineer <=
- 2024-10-02 Gdynia => Data Scientist <=
- 2024-10-02 Warszawa => Sales Development Representative (in German) <=
- 2024-10-02 Warszawa => SAP HANA Developer (Middle) <=
- 2024-10-02 Warszawa => SAP S/4HANA FI/CO Senior Consultant <=
- 2024-10-02 Warszawa => Senior SAP HANA Developers <=
- 2024-10-02 Warszawa => Senior PHP Laravel Developer (e-commerce) <=
- 2024-10-02 Warszawa => Programista Full Stack (.Net Core) <=
- 2024-10-02 Warszawa => Software .Net Developer <=
- 2024-10-02 Warszawa => Programista Full Stack .Net <=
- 2024-10-01 Katowice => Head of Virtualization Platform Management and Operating S
- 2024-10-02 GODZINA ZERO #48 - KRZYSZTOF STANOWSKI I ZBIGNIEW KAPIŃSKI PREZES IZBY KARNEJ SĄDU NAJWYŻSZEGO
- 2024-09-30 Rozprawa zdalna brak komputera