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.
本书由Scala之父作序推荐,深入探讨了Scala里几个较为复杂的领域,包括类型系统的高阶内容、隐式转换、特质的组合技巧、集合、Ac
《历史名镇:孟河镇》内容简介:孟河镇位于江苏省常州市西北,是一个依山傍水、风景秀丽、四季分明的宜农耕、宜居住的理想地区。孟
书中内容基于C++全书共分10章。第0章讲解了算法的概念及体例说明。第1~7章分别就计数问题、信息查找问题、组合优化问题、图中搜
这本乔布斯唯一授权的官方传记,在2011年上半年由美国出版商西蒙舒斯特对外发布出版消息以来,备受全球媒体和业界瞩目,这本书的
《直播修炼手册》内容简介:《直播修炼手册:主播IP打造+营销运营+商业变现》是一本直播修炼宝典,从主播的IP打造到营销推广、整体
《Head First Go语言程序设计》内容简介:Go是为高性能网络和多处理而设计的,但与python和javascript一样,该语言易于阅读和使用。
《过瘾湘菜800例》内容简介:湘菜即湖南菜,至今已有2000多年的历史。1974年在长沙马王堆出土的一套西汉随葬竹简菜谱上,已记载了1
《实现技术创新的TRIZ诀窍:40个创新原理》是阿奇舒勒用来介绍如何使用40个创新原理解决技术矛盾的。本版保留了原著的核心部分和尤
《数字图像处理》是数字图像处理领域理论与实践相结合的成功之作,也是经典之作。全书强调如何应用理论知识解决工业和科学研究中
EXCEL2007函数与公式实战技巧精粹 本书特色推荐购买套装: excel 2007办公金典套装:excel 2007数据透视表应用大全+excel 2007...
《智能物联网》内容简介:本书探讨了物联网的现状和未来发展趋势,以及所面临的相关安全问题。作者艾哈迈德·巴纳法(Ahmed Banafa
Photoshop CC设计经典特效228例-(附赠3DVD.含35小时多媒体教学视频+海量设计素材) 本书特色 本书以平面广告设计为目的,以技法讲解为方式,以...
HIGHLIGHTC++ConcurrencyinActionisthefirstbooktomarkettoshowhowtotakeadvantageoft...
网络伴随我们的时间不算很长,然而因特网的流行和商业化的普及速度却是惊人的,这促使人类活动和社会的每个领域都发生了改变。我
《Bootstrap基础教程》内容简介:Bootstrap是一个基于HTML 5和CSS 3的前端开发框架,它提供了较为丰富的Web组件,能够快速制作一个
《史记八讲》内容简介:本书稿是日本东洋文化研究所访问学者史杰鹏为所开《史记》网课撰写的讲稿的结集。分为“刺客”“游侠”“战
《网页设计心理学》出自国际知名的网页设计心理学专家之手,讨论了当前网页设计领域内最为热点的话题。是什么让访客点击网页中的
《中国古代小说中的“史传”传统及其历史变迁》内容简介:本书以“辨章学术,考镜源流”为进路,旨在研究中国古代小说的“史传”传
互联网+金融-互联网金融的革命 本书特色 冉湖、杨其光、鲁威元*的《互联网 金融--互 联网金融的革命》深入剖析当下互联网金融的发展动 态和未来趋势,深度拓宽你...
《大盘时代:中国泛地产革命》内容简介:1999年,一条从广州南直通番禺的华南快速干线将普通的岭南小镇南村,变成了中国房地产史上