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.
《智能经济:用数字经济学思维理解世界》内容简介:本书通过对信息技术革命的技术思想历史的探索,全面分析了包括计算主义世界观、
《学术论文写作与发表指南》内容简介:本书内容涵盖论文选题、论文写作、投稿技巧、期刊审稿等,适用于人文社会科学高校教师、硕博
《EricMeyer谈CSS(卷1)》融汇了世界级专家EricMeyer极富价值的CSS实战经验,运用13个典型实际项目,采取手把手的方式来指导读者如
《WCF全面解析(套装上下册)》由蒋金楠所著,是作者多年潜心研究WCF技术的心血之作,也是这些年来从事WCF开发的经验总结。书如其名
《公司战略与风险管理(经典题库)》内容简介:《注册会计师全国统一考试专用辅导教材:公司战略与风险管理经典题库》所选练习题,
HTML是网页制作的基础语言,是每个网页制作者必须掌握的内容。XHTML1.0是一种在HTML4.0基础上优化和改进的新语言,是基于XML的应
飞行研究是飞机设计过程中一个不可缺少和不可分割的部分,人们研制了许多种型号的飞机来试验各种新的设计,演示一些特别的新技术
《设计·人机界面》系统地介绍近年来国内外人机界面设计领域的基础理论、研究方法、最新发展与成果。人机界面是计算机科学和认知
本书由微软资深企业架构师兼Kinect应用开发专家亲自执笔,既系统全面地讲解了Kinect技术的工作原理,又细致深入地讲解了Kinect交
《幻想即现实(十周年珍藏版)》内容简介:幻想是内心的现实,你的世界是什么样子,与你有关,与世界无关。本书源于治疗过程,是作
大数据丛书模式识别与分类导论/(美)杰夫.多尔蒂 本书特色 模式识别与分类的使用是当今许多自动化电子系统的基础。然而,尽管该领域已出版了许多名著,但该主题仍然非...
欢迎您选择一种更高效的学习HTML和CSS的方式。不管您设计和建立新网站,还是想更好地控制现有网站,都可以在《HTML&CSS设计与构建
中文版CoreIDRAW图形设计经典技法118例-含光盘1张 本书特色 《中文版CorelDRAW图形设计经典技法118例(附光盘)》(作者曾全、邱雅莉)主要面...
随着计算机硬件的发展、处理能力的增强,人机交互成为制约其发挥作用的关键因素。人与计算机的交互一直受到输入/输出之间信息不平
《虚拟机:系统与进程的通用平台》的作者从计算机体系结构研究者的角度,以计算机系统接口抽象层次中两个最重要的接口——应用的二
黑客与画家 本书特色 世界上一个互联网应用程序Viaweb开发者举世公认的互联网创业Paul Graham的文集!Paul Graham带领我们探究黑客的世界,...
本书介绍了微波中继通信系统、短波通信系统、卫星通信系统、移动通信系统和光纤通信系统。内容包括系统的组成、相关的新技术、系
《供给侧改革:新供给简明读本》内容简介:“供给侧”在经济学领域并不是一个新鲜词汇,但一直未受到足够重视。中央领导首次提出“
《常春藤英语 四级·下》内容简介:“常春藤英语系列”选材以英国、美国、加拿大和澳大利亚等主流英语国家的经典语文素材为主,内容
赵鑫磊阿里巴巴集团资深Linux系统专家。自1998年开始使用Linux,曾参与国内著名的Linux社区发行版MagicLinux的开发工作,是一个土