Microsoft Word OpenIssuesInOO. doc


Class-based versus prototype-based languages



Download 1,28 Mb.
Pdf ko'rish
bet47/51
Sana29.08.2021
Hajmi1,28 Mb.
#158917
1   ...   43   44   45   46   47   48   49   50   51
Bog'liq
OpenIssuesInOO

Class-based versus prototype-based languages. Prototype-based languages offer 

interesting alternatives to class-based languages with respect to modeling and technical 

possibilities. It has been argued that it should be possible to unite the two approaches. 

From a modeling point of view, the two alternatives seem to support different phases of 

the modeling activity. Technically there don't seem to be major differences in the sense 

that the new possibilities offered by prototype-based languages can be integrated with 

class- based languages. The  real difference seems to be with respect to philosophy: 

some people may prefer a pure class-based approach whereas others may prefer a pure 

prototype-based approach.  

• 

Concurrency. It has been argued that the Simula approach to active objects is still one 

of the best alternatives for supporting concurrency in object-oriented languages. 

There are a number of issues that have not been covered in this paper, but where there also 

seems to be some disagreement. Examples are: 

• 

Multi-methods. Some people argue that the unification of abstraction mechanisms into 

the concept of pattern as in BETA and the unification of class and object as in Self is 

going too far in the generalisation of programming language constructs. Multi-methods 

is another example of a generalization that may be unnecessary. They are definitely 

more general and more powerful than single-methods. Except for CLOS, multi-

methods have not been adapted in practice. To the present author it is open whether or 

not multi-methods are really needed, since the few practical examples encountered can 

be handled by double dispatch. 

• 


Download 1,28 Mb.

Do'stlaringiz bilan baham:
1   ...   43   44   45   46   47   48   49   50   51




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish