欢迎来到天天文库
浏览记录
ID:34842677
大小:1.69 MB
页数:198页
时间:2019-03-12
《An Introduction to Objecet-Oriented Programming.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Chapter1ThinkingObject-OrientedAlthoughthefundamentalfeaturesofwhatwenowcallobject-orientedprogram-mingwereinventedinthe1960's,objectorientedlanguagesreallycametotheattentionofthecomputingpublic-at-largeinthe1980's.Twoseminaleventswerethepublicationofawidely-readissueofByte(August1981)thatdescr
2、ibedtheprogramminglanguageSmalltalk,andtherstinternationalconferenceonobject-orientedprogramminglanguagesandapplications,heldinPortland,Ore-gonin1986.Now,almosttwentyyearslater,itisstillthecasethat,asInotedinthersteditionofthisbook(in1991):Object-orientedprogramming(OOP)hasbecomeexceedinglypo
3、p-ularinthepastfewyears.Softwareproducersrushtoreleaseobject-orientedversionsoftheirproducts.Countlessbooksandspecialis-suesofacademicandtradejournalshaveappearedonthesubject.Studentsstrivetolistexperienceinobject-orientedprogramming"ontheirresumes.Tojudgefromthisfranticactivity,object-orien
4、tedprogrammingisbeinggreetedwithevenmoreenthusiasmthanwesawheraldingearlierrevolutionaryideas,suchasstructuredpro-gramming"orexpertsystems."Myintentinthesersttwochaptersistoinvestigateandexplaintheba-sicprinciplesofobject-orientedprogramming,andindoingsotoillustratethefollowingtwoproposition
5、s:OOPisarevolutionaryidea,totallyunlikeanythingthathascomebeforeinprogramming.OOPisanevolutionarystep,followingnaturallyontheheelsofearlierprogrammingabstractions.12CHAPTER1.THINKINGOBJECT-ORIENTED1.1WhyIsOOPPopular?Thereareanumberofimportantreasonswhyinthepasttwodecadesobject-orientedprogram
6、minghasbecomethedominantprogrammingparadigm.Object-orientedprogrammingscalesverywell,fromthemosttrivialofproblemstothemostcomplextasks.Itprovidesaformofabstractionthatresonateswithtech-niquespeopleusetosolveproblemsintheireverydaylife.Andformostofthedominantobject-orientedlanguagesthereareaninc
7、reasinglylargenumberoflibrariesthatassistinthedevelopmentofapplicationsformanydomains.Object-orientedprogrammingisjustthelatestinalongseriesofsolutionsthathavebeenproposedtohelpsolvethesoftwarecrisis."Atheart,thesoftwarecrisissim
此文档下载收益归作者所有