Object-oriented programming is the current cure-all — although it has been around for much more then ten years. At the core, there is little more to it then finally applying the good programming principles which we have been taught for more then twenty years. C++ (Eiffel, Oberon-2, Smalltalk ... take your pick) is the New Language (ed: this book was published in 1993) because it is object-oriented — although you need not use it that way if you do not want to (or know how to), and it turns out that you can do just as well with plain ANSI-C. Only object-orientation permits code reuse between projects — although the idea of subroutines is as old as computers and good programmers always carried their toolkits and libraries with them.
This book is not going to praise object-oriented programming or condemn the Old Way. We are simply going to use ANSI-C to discover how object-oriented programming is done, what its techniques are, why they help us solve bigger problems, and how we harness generality and program to catch mistakes earlier. Along the way we encounter all the jargon — classes, inheritance, instances, linkage, methods, objects, polymorphisms, and more — but we take it out of the realm of magic and see how it translates into the things we have known and done all along.
Intended Audience:
I had fun discovering that ANSI-C is a full-scale object-oriented language. To share this fun you need to be reasonably fluent in ANSI-C to begin with — feeling comfortable with structures, pointers, prototypes, and function pointers is a must. Working through the book you will encounter all the newspeak — according to Orwell and Webster a language "designed to diminish the range of thought" — and I will try to demonstrate how it merely combines all the good programming principles that you always wanted to employ into a coherent approach. As a result, you may well become a more proficient ANSI-C programmer.
《人生真不如陶渊明那一杯酒》内容简介:陶渊明用他一生的行动,告诉我们如何找到通向宁静生活的道路;告诉我们热爱什么都不如热爱
本书内容包括UNIX内核体系结构磁盘高速缓冲机制文件系统内部数据结构与算法控制进程上下文的系统调用与进程调度存储管理,包括对
《卓越法律人才教育培养的探索与实践》内容简介:本书主要围绕卓越法律人才教育培养撰写论文的主题,阐述卓越法律人才教育培养的总
周鸿祎作序推荐!全球科技圈产品经理争相学习的产品管理秘笈!以用户思维管理产品,管理团队,管理自我,学会比其他人更聪明、更
《往往醉后见天真:回忆傅抱石》内容简介:傅抱石(1904—1905)是我国现代著名国画家、美术史研究和绘画理论家,其艺术成就在中国
Thisfast-movingguideintroduceswebapplicationdevelopmentwithHaskellandYesod,apote...
《微信小程序策划与运营》内容简介:本书全面介绍了微信小程序及小程序运营各模块的具体内容。第1章重点介绍小程序到底是什么,其中
影像圣堂photoshopcs3中文版步步为营启蒙+基础练习附光盘 本书特色 《Photoshop CS3步步为营:启蒙+基础练习》(中文版)光盘包含书中所有实...
《Unity虚拟现实开发实战(原书第2版)》内容简介:本书通过基于项目的实践方式,详细讲解如何使用Unity 3D游戏引擎进行虚拟现实开
沈括是我国古代历史上一位伟大的科学家。他留下的《梦溪笔谈》一书,成为我国古代科学技术成果的资料库,长期以来,一直受到人们
从貌似天书的汇编代码中,一探Windows底层的核心实现。.在开发中出现的问题,能从Windows自身找到答案!...本书从基本的Windows程
《非奋斗减肥》内容简介:本书10个章节,对应10个减肥法则。全书科学分析了发胖的原因和常见的关于减肥的错误认知,带来不用节食、
《裂变增长秘籍》内容简介:本书基于微信大生态,围绕裂变获客、留存促活、销售变现、客户管理四大模块展开讲述,旨在帮助更多互联
本书比较全面地介绍了网页设计应注意的相关问题,在网页设计基础方面着重讲解了网页框架、页面元素、色彩设计,分析了一些人们容
本书初版于1983年,是20世纪80年代轰动知识界的“走向未来丛书”之一种。作者采用中西对比的视角,探讨了近代科学技术结构发展的
新手学Word/Excel/PowerPoint办公应用-超值畅销版-(附赠DVD光盘1张) 本书特色 由博智书苑编的《新手学Word\Excel\PowerP...
地理信息系统导论 内容简介 本书是地理信息系统的入门教材,融GIS基本概念、基本原理和应用技能训练为一体,结构体系考究、内容针对性强、条理清晰、图文并茂、深入浅...
ProductDescriptionHereisthefirstobject-orienteddevelopmentbooktoprovidespecifice...
参透Delphi/Kylix 本书特色 ◆清华大学教师力作,包含作者多年编译器研究与程序设计教学经验◆深入Object Pascal语言核心,澄清许多容易让人迷...
《黑客与画家(10万册纪念版)》内容简介:你无须改变太多,也能活出精彩一生。这是保罗给我们的心理安抚,同时他也用自己在世俗意