-
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-
13.dc1.easynews.com.POSTED!not-for-mail
From: A.L. <l...@a...com>
Newsgroups: pl.comp.programming
Subject: Re: Co ma Objective-C czego nie ma C++?
Message-ID: <4...@4...com>
References: <4ddbc4e2$0$2460$65785112@news.neostrada.pl>
<8...@4...com>
<irh5ol$rdh$1@inews.gazeta.pl>
<1...@4...com> <irie50$43t$1@solani.org>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 72
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: Wed, 25 May 2011 09:03:12 -0500
Xref: news-archive.icm.edu.pl pl.comp.programming:190691
[ ukryj nagłówki ]On Wed, 25 May 2011 08:20:48 +0000 (UTC), "Stachu 'Dozzie' K."
<d...@g...eat.some.screws.spammer.invalid> wrote:
>On 2011-05-24, A.L <l...@a...com> wrote:
>[...]
>> No dobrze, ale co ma to wspolnego z MODELEM OBIEKTOWOSCI?...
>
>A.L., podaj po prostu przykład języka o innym modelu obiektowości niż
>pochodzący z Simuli. Wtedy twoi rozmówcy będą widzieli o czym mówisz.
Prosze bardzo. Ada na przyklad. Ackolwiek specyfikacja jezyka mowi o
"class", nei sa to klasy w sensie Simuli:
A programmer studying the object-oriented features of
Ada 9X [5], maybe astonished by the use of the term class,
i.e. a set of types sharing common properties and closed
under derivation, and by the lack of a syntactic constmct
called class or object.
Moreover, whereas classes, types and modules share the
same syntactic construct in the Simula-based object-oriented
languages (like Eiffel) or extensions (like C++),
Ada 9X makes a point of keeping the package as basic construct
for modularity and encapsulation, and the type as construct
for describing the properties of objects. It would have
been misleading to introduce class types or typed packzzges,
since both of these extensions would have introduced adhoc
and redundant constructs in the language.
Ada is not the only language to keep this distinction. Other
modern programming languages such as Modula-3 [9] and
Oberon-2 [23] incorporate the same design choice. However,
whereas these programming languages are built on flat
namespaces, Ada is the only language to have enhanced the
concept of modularity to take object-oriented systems into
account for the management of the namespace with hierarchical
libraries.
...
Ada 9X refines the type derivation
mechanism by introducing tagged types and type extension.
A tagged type is a record type the derivatives of which
can be extended with additional components.
Working with Ada 9X classes
Author: Stéphane Barbey Swiss Federal Institute of Technology in
Lausanne, Software Engineering Laboratory, EPFL-DI-LGL, CH-1015
Lausanne, Switzerland
? Proceeding
TRI-Ada '94 Proceedings of the conference on TRI-Ada '94
ACM New York, NY, USA (C)1994
Podobnie jezyk Oberon (ten od Wirtha) ma obiektowosc oparta o "derived
types" i "tpe extension". Artykul jest tutaj
http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1
.1.93.6273
Zrwszta, model Ady zostal wziety z idei Wirtha
Inny model to model oparty o prototypy, a najbardziej znanym
reprezentatnem ejst jezyk Self
http://labs.oracle.com/self/
http://labs.oracle.com/self/papers/self-power.html
A.L.
Najnowsze wątki z tej grupy
- 7. Raport Totaliztyczny: Sprawa Qt Group wer. 424
- 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
Najnowsze wątki
- 2024-11-24 Czy Sejm RP zahamuje proceder zabijania dla organów?
- 2024-11-24 Aby WKOOOORWIĆ ekofaszystów ;-)
- 2024-11-22 OC - podwyżka
- 2024-11-22 wyszedł z domu bez buta
- 2024-11-22 Bieda hud.
- 2024-11-24 DS1813-10 się psuje
- 2024-11-23 Białystok => Inżynier bezpieczeństwa aplikacji <=
- 2024-11-23 Szczecin => QA Engineer <=
- 2024-11-23 Warszawa => SEO Specialist (15-20h tygodniowo) <=
- 2024-11-22 Warszawa => Kierownik Działu Spedycji Międzynarodowej <=
- 2024-11-22 Warszawa => Senior Account Manager <=
- 2024-11-22 Warszawa => Key Account Manager <=
- 2024-11-22 Warszawa => DevOps Specialist <=
- 2024-11-22 Kraków => IT Expert (Network Systems area) <=
- 2024-11-22 Warszawa => Infrastructure Automation Engineer <=