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.
《idea+10(1):举一反百的聪明设计法则》内容简介:很多设计师的头脑里不乏绝妙的设计点子,但是重复的主题一再出现,创意总难免枯
单片机原理.接口及应用-嵌入式系统技术基础-第2版 本书特色 《单片机原理、接口及应用:嵌入式系统技术基础(第2版)》:系统性。以目前使用*广泛的MCS-51单...
《沟通:用故事产生共鸣》是全世界最具影响力的演说大师的扛鼎之作。《沟通:用故事产生共鸣》从设计的理念和角度阐述演说艺术、技
《2024年管理类联考(MBA/MPA/MPAcc等)综合能力逻辑精选450题》内容简介:本书主要内容为管理类联考逻辑应试辅导用书,涉及参加MP
《行成于思:王志纲中国走势思考录》内容简介:“行成于思毁于随”。从进入中南海汇报的新华社资深记者,转变为顶尖战略咨询机构智
《藏在木头里的灵魂》内容简介:18世纪法国传教士笔下绝美中国建筑首次面世,完整重译十八世纪法文原版,体会深刻人文情怀与历史感
《你是锦瑟 我为流年》内容简介:锲而不舍地流浪,乐此不疲地拾荒。2019全新升级,畅销书作者白落梅温情讲述三毛传奇一生! 她是撒
通用软件服装CAD 内容简介 《通用软件服装CAD》是一部计算机软件应用技术专著,本书既可用于高等学校服装专业教学,也可以指导服装设计与生产。本书详细研究探讨了...
1作者为德国红点设计大奖得主。2书中独有作者自创的图形创作模式,即“理性—直觉—手—电脑”的结合运用。3本书包含40种颠覆惯性
《不烦恼的月子生活:开心做妈妈》内容简介:对新妈妈而言,宝宝的出生并不意味孕产生活的结束,而是一段影响终身的坐月子生活的开
智能优化算法与涌现计算 本书特色 智能优化算法与涌现计算是多种前沿学科交叉融合的结晶。主要包括:模拟人脑思维、人体细胞、器官等的仿人智能优化算法;模拟群居动物觅...
《数字图像处理》是数字图像处理领域理论与实践相结合的成功之作,也是经典之作。全书强调如何应用理论知识解决工业和科学研究中
《一天25小时》内容简介:本书首次提出了以理财的观念来理时间,这一全新的时间管理视角,书中将时间管理分为6 个步骤,各部分以介
想象一下,一个网页只有HTML,没有CSS,那就是素颜和上妆的区别。而一个网页只有CSS,没用CSS3,那就是马车和汽车的区别!汽车代
Apache是目前全球最广为使用的网页服务器。虽然Apache管理人员可以找到大量的与安装及配置设定相关的文件说明,但想从中找出适合
《有趣的二进制:软件安全与逆向分析》通过逆向工程,揭开人们熟知的软件背后的机器语言的秘密,并教给读者读懂这些二进制代码的
多模式多尺度数据融合理论及其应用 内容简介 《多模式多尺度数据融合理论及其应用》首先针对一类不可重复测量的物理量,如时间、飞行器的位置、姿态及惯性参数等,建立多...
《精通正则表达式:基于.NET/ASP/PHP/JSP/JavaScript》从正则表达式的基本概念、基本语法入手,着重介绍了正则表达式在数字验证、
Creativityisaninnatehumanimpulse,manypeoplebelieve,somethingwe’rebornwithbuttooo...
《HTML5经典实例》对于从中级到高级的Web和移动Web开发者来说是绝佳之选,它帮助你选择对你有用的HTML5功能,并且帮助你体验其他