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.
《Maple教程》详细地介绍了Maple的基本功能,主要包括数:数值计算,解方程,微积分计算,向量及矩阵计算,数据处理等,书中给出
如果三十多年前艾斯林格没有遇见乔布斯,你我今天看到的iPhone和MacBook也许不是现在这个样子,当然,也许根本就没有这么酷的手机
《因为喜欢,可迎万难:张爱玲传》内容简介:张爱玲,理解生活的深刻,动荡的人生染着轻盈的落寞,是一个可以与世界“顶级”小说家
《智慧银行——未来银行服务新模式》内容简介:随着新一代信息科学技术的迅速发展和广泛应用,各行业正在面临重大变革,酝酿新的突
《抗战时期的金陵大学》内容简介:本书以抗战时局影响下金陵大学的迁变与调适为研究主题,通过对其早期的调适与发展、抗战西迁与南
《布克·华盛顿与杜波依斯的思想之争及其对非裔政治领袖的影响(英文版)》内容简介:20世纪初,布克·华盛顿与杜波依斯就非裔美国
本书是一本总结实践经验和成果的作品,主要为测试人员规划、设计、实施Web性能测试而编写。本书既包含Web性能测试的基础理论,又
"TechnicsandCivilization"firstpresenteditscompellinghistoryofthemachineandcritic...
Thisbookaddressestheunderlyingfoundationalelements,boththeoreticalandmethodologi...
《20世纪的中国乡村》内容简介:本书从四个部分,系统呈现20世纪中国乡村社会发展状况。第一部分,探讨中国近代社会史研究的历程、
《企业应用架构模式经典重读》内容简介:本书作者是当今面向对象软件开发的权威,他在一组专家级合作者的帮助下,将40多种经常出现
《复制互联网之2:2011年全球最值得模仿的100个网站》从行业的整体发展趋势中,收录了国内外最值得关注的互联网商业模式,为初创网
《副业思维》内容简介:副业不只是业余时间的一份工作,更是人们追求自我、设计自己人生、实现人生梦想非常重要的一个渠道。掌握副
Ajax将静态Web页面转变为充满交互的应用。现在您不需要牺牲Web应用程序部署的简单性,就可以将“胖”客户端应用程序部署到客户端
《赋能业务》内容简介:现有团队的定位与公司的需要脱节?团队积累的技能和经验,并不符合公司的需求方向?某些部门和团队的工作变
《C++程序设计习题与实验指导》内容简介:本书是C++程序设计语言的参考书,章节和内容编排与《C++程序设计基础教程》配套,主要包括
《36讲资治通鉴通识课:1362年历史时空》内容简介:《资治通鉴》是北宋司马光主编的中国首部编年体通史,是传统的史学巅峰著作,但
《创业法律900问》内容简介:作者以问答形式向在市场中拼搏的创业者介绍了我国公司法、合伙企业法、合同法、票据法、外资企业法、知
本书的第三版升级到ApachePHP和JavaScript最新的版本上。同是它还包含了关于mod_perl更为详尽的信息以及提高Web性能的方法。书中
这是一本关于sqlite起源、特性、简介、使用、深度解析的书。《sqlite权威指南(第二版)》首先从sqlite最初起源、特性、设计理念