-
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
- Brednie w wiki - hasło Dehomag
- Perfidne ataki krakerów z KRLD na skrypciarzy JS i Pajton
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- Instytut IDEAS może zacząć działać: "Ma to być unikalny w europejskiej skali ośrodek badań nad sztuczną inteligencją."
- U nas propagują modę na SI, a w Chinach naukowcy SI po kolei umierają w wieku 40-50lat
- C++. Podróż Po Języku - komentarz
- "Wuj dobra rada" z KDAB rozważa: Choosing the Right Programming Language for Your Embedded Linux Device
- Nowa ustawa o ochronie praw autorskich - opis problemu i szkic ustawy
- Alg. kompresji LZW
- Popr. 14. Nauka i Praca Programisty C++ w III Rzeczy (pospolitej)
- Arch. Prog. Nieuprzywilejowanych w pełnej wer. na nowej s. WWW energokod.pl
- 7. Raport Totaliztyczny: Sprawa Qt Group wer. 424
- TCL - problem z escape ostatniego \ w nawiasach {}
- Nauka i Praca Programisty C++ w III Rzeczy (pospolitej)
Najnowsze wątki
- 2025-05-09 Kto miał rację ?
- 2025-05-09 Jakie natynkowe podwójne gniazdo z bolcem (2P+PE)
- 2025-05-08 Z jakiego paragrafu podlega ochronie (resortowa) flaga UE w RP3? Bo to nie flaga Obcego PAŃSTWA [KK-137.2]
- 2025-05-08 Usługi, rozliczanie płatności z karty i blika
- 2025-05-08 Lublin => Delphi Programmer <=
- 2025-05-08 Lublin => Programista Delphi <=
- 2025-05-08 Łódź => Mainframe (z/OS, Assembler) Developer <=
- 2025-05-08 Warszawa => Senior Node.js Developer (doświadczenie z framework Nest.
- 2025-05-07 Wielki smog w Watykanie
- 2025-05-07 Polscy czołgiści najlepsi w międzynarodowych zawodach na Łotwie!!!
- 2025-05-07 Znaki wewnętrzne
- 2025-05-07 Czujnik nacisku
- 2025-05-07 Wielki smog w Watykanie Nadal palą węglem w piecach
- 2025-05-07 Kraków => Business Development Manager - Network and Network Security
- 2025-05-07 Białystok => Team Lead Data Engineer (obszar Snowflake) <=