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.
WiththehelpoftheInternetandaccompanyingtools,creatingandpublishingonlinemapshasb...
NobelLaureateEugeneWigneroncewonderedabout"theunreasonableeffectivenessofmathema...
Theseproceedingswillbeofinteresttoscientistsandresearchersdealingwithlaserapplic...
ThisisanupdatedrevisionofTennisons"BeginningXSLT",updatedforthenewrevisionoftheX...
新编中文版Photoshop CS6标准教程-(含1CD) 本书特色 Photoshop是由Adobe公司开发的图形图像软件,它是一款功能强大、使用范围广泛的图...
《大数据基础与应用》内容简介:本书共分为12章,第1章介绍了大数据产生的背景、大数据的结构与特征、大数据相关概念、大数据可视化
《中国山水画基础教程》内容简介:本书是“基础教程系列”中的一本。“基础教程系列”是专门为零基础美术爱好者打造的、涉及多门类
本书是一部为广大从事声频工程工作的读者提供准确、全面、简明的专业知识的工具书。该书的第三版全面更新了原有的内容,这部新版
摘要/内容:随着信息技术的快速发展,信息系统也逐渐由低级到高级、由简单到复杂、由封闭孤立到开放协同地发展;具体表现为系统组
《你好,自然(小学通识版)》内容简介:这是一个关于自然的博物类套装书,包括图书和材料包(电子书版不含材料包)。它主要介绍了
《预防医学实习和学习指导(第2版)》内容简介:本书分为实习和复习思考题两篇。实习篇分为5个部分,即医学统计学实习、流行病学实
《这就是OKR》内容简介:这本书是传奇风险投资人约翰·杜尔的作品,揭示了OKR这一目标设定系统如何促使英特尔、谷歌等科技巨头实现
1997年5月11日,全世界数百万人通过电视观看了一场惊人的胜利——一台计算机战胜了欲捍卫世界冠军称号的卡斯帕罗夫,此举震惊了国
《论书随笔》内容简介:本书是近现代著名书法家启功先生书法思想的总结。启功先生从自己的书写实践出发,不仅对书法的笔顺、结构等
《基础和声音响建构与应用教程》内容简介:本书包括《基础和声音响建构与应用教程》《基础和声音响建构与应用教程·课后同步配套练
PPT演示之道-写给非设计人员的幻灯片指南-第2版-畅销书升级版 本书特色 PPT设计好的两个重要原则:一目了然和视觉。由孙小小编著的《PPT演示之道——写给非...
“不作恶”的Google何以身陷“三重门”?聪明的Google为何在中国变得不够聪明?强大的Google在与百度的交锋中为何会完败?作者简
主板常用芯片及电路维修实用手册(含盘) 本书特色 主板是电脑的核心部件,是电脑能够实现各种功能的基础。而主板的核心则是其上面集成的各种电子元器件、各种功能的芯片...
Galadinner:SalvadorDalí’ssurrealistcookbook“LesdinersdeGalaisuniquelydevotedtoth...
《好玩的生物学:陪中学生一起阅读生命》内容简介:本书是一本适合全学段中学生进行严肃阅读的生物学科普读物。全书以“系统”“适