欢迎来到天天文库
浏览记录
ID:39915711
大小:66.52 KB
页数:18页
时间:2019-07-14
《面向对象和C语言-外文文献译文-Object-OrientationandC语言编程外文文献及中文翻译》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、外文资料译文外文资料原文Object-OrientationandC++C++isjustoneofmanyprogramminglanguagesinusetoday.Whyaretheresomanylanguages?Whydonewonesappeareveryfewyears?Programminglanguageshaveevolvedtohelpprogrammerseasethetransitionfromdesigntoimplementation.Thefirstprogramminglanguageswereverydependentont
2、heunderlyingmachinearchitecture.Writingprogramsatthislevelofdetailisverycumbersome.Justashardwareengineerslearnedhowtobuildcomputersystemsoutofothercomponents,languagedesignersalsorealizedthatprogramscouldbewrittenatamuchhigherlevel,therebyshieldingtheprogrammerfromthedetailsoftheund
3、erlyingmachine.Whyaretheresuchalargenumberofhigh-levelprogramminglanguages?Therearelanguagesforaccessinglargeinventorydatabases,formattingfinancialreports,controllingrobotsonthefactoryfloor,processinglists,controllingsatellitesinrealtime,simulatinganuclearreactor,predictingchangingat
4、mosphericconditions,playingchess,anddrawingcircuitboards.Eachoftheseproblemsrequiresdifferentsetsofdatastructuresandalgorithms.Programminglanguagesaretoolstohelpussolveproblems.However,thereisnotoneprogramminglanguagethatisbestforeverytypeofproblem.Newprogramminglanguagesareoftendeve
5、lopedtoprovidebettertoolsforsolvingaparticularclassofproblems.Otherlanguagesareintendedtobeusefulforavarietyofproblemdomainsandaremoregeneralpurpose.Eachprogramminglanguageimpartsaparticularprogrammingstyleordesignphilosophyonitsprogrammers.Withthemultitudeofprogramminglanguagesavail
6、abletoday,anumberofsuchdesignphilosophieshaveemerged.Thesedesignphilosophies,calledprogrammingparadigms,helpustothinkaboutproblemsandformulatesolutions.1.SoftwareDesignthroughParadigmsWhendesigningsmallcomputerprogramsorlargesoftwaresystems,weoften10外文资料译文haveamentalmodeloftheproblem
7、wearetryingtosolve.Howdowedeviseamentalmodelofasoftwaresystem?Programmingparadigmsoffermanydifferentwaysofdesigningandthinkingaboutsoftwaresystems.Aparadigmcanbethoughtofasamentalmodelorasaframeworkfordesigninganddescribingasoftwaresystem'sstructure.Themodelhelpsusthinkaboutandformul
8、atesolutions
此文档下载收益归作者所有