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.
鲁奇克、凯兹所著,蒋晓等翻译的《NONOBJECT设计(精)》提出了一种全新的Nonobject设计方法。与符和用户普遍需求和感受的“以人为
本书是美国普渡大学资深教授DouglasE.Comer从计算机系统结构对编程影响的角度为计算机科学、技术、应用类学生精心编写的计算机系
《操盘:千股涨停》内容简介:2015年上万亿资金逐鹿A股市场,各路私募基金迅速扩张,大量的场内场外杠杆交易大行其道。青山投资异军
《音乐评论的视域》内容简介:阐述音乐评论的概念与理论,并以田可文大约20多篇音乐评论文章来作为范例,来叙述音乐评论的路径。20
本书是美国Oregon州立大学的MichaelJ.Quinn教授在多年讲授“并行程序设计”课程的基础上编写而成的,主要介绍用C语言,并结合使用
《当代中国农村》内容简介:全面展示中国农村发展成就中国农业现代化建设;创新农业经营体制,转变农业发展方式农业供给侧结构性改
《HTML5移动应用开发入门经典》总共分为24章,以示例的方式对如何使用HTML5及相关技术进行移动应用开发做了全面而细致的介绍。《
《儿童瑜伽,孩子带得走的幸福力》内容简介:儿童瑜伽在孩子的成长发育中发挥着非常积极的作用,不仅可在身体发育方面为孩子保驾护
Graspthefundamentalsofwebapplicationdevelopmentbybuildingasimpledatabase-backeda...
《四库全书总目发微》内容简介:本书为作者近年发表《四库全书总目》领域论文之合集,分为“文献编”与“经学思想编”两部分。文献
群体智能与计算智能优化的盲均衡算法 本书特色 本书针对盲均衡理论与算法研究中初始权向量优化的难题,以智能群算法和智能计算理论为工具,开展了盲均衡算法性能优化的研...
《自己动手写Docker》内容简介:《自己动手写Docker》在详细分析Docker所依赖的技术栈的基础上,一步一步地通过代码实例,让读者可
《晚安妈妈,晚安宝贝:小秘密跑掉了》内容简介:本书含27个小故事,让孩子的睡前时光温暖甜蜜,治愈孩子小小的心灵。作者充分利用
《治企方略》内容简介:好的企业不在于规模有多大,能挣多少钱,而在于能不能可持续增长。当今世界正经历着经济、政治、技术等方方
《中国移动通信营销案例精选》重点关注中国移动通信的市场战略和市场运作模式。从“沟通从心开始”到“动感地带”客户品牌推出,
《移动通信(第4版普通高等教育十一五国家级规划教材)》由李建东、郭梯云、邬国扬编著,系统地阐述了现代移动通信的基本原理、基
《Excel数据分析与可视化》内容简介:本书以项目为导向,由浅入深地介绍Excel在数据分析与可视化方面的应用。全书以“自动售货机”
《人工智能发展报告(2019—2020)》内容简介:该书是国家工业信息安全发展研究中心在对2019年全球人工智能技术和产业进行全面跟踪
《VerilogHDL高级数字设计》结构清晰,内容组织合理、适合于计算机机、电子等相关专业本科高年级学生或研究生课程,同时也通用于
《帆船、海盗与世界》内容简介:轮子、马镫、弓箭、火药和帆船,在历史的时间线上,每一个器物都有它值得诉说的故事,它们引发国家