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.
JaySchafferhasalwayshadanabundantcuriosityandnervyattitudeaboutplaces,work,andli...
数字冲击波 本书特色 《数字冲击波》:“多媒体之父”哈威·费舍先生经典之作。数字冲击波 内容简介 简介哈威·费舍认为,在人类历史上,数字革命是了个确定以及决定性...
离散数学 本书特色 本书特色:以教育部计算机科学与技术教学指导委员会制订的计算机科学与技术专业规范为指导,内容涵盖计算机科学技术中常用离散结构的数学基础。紧密围...
《自私的基因》内容简介:《自私的基因》于1976年首次出版之后便畅销全球,是20世纪百大经典名著之一,是一部不仅在基因领域更在社
《中山风雨话沧桑:1937~1947年河北省定(北)县党的建设及革命斗争追忆》内容简介:这是一部百岁老人刻骨铭心的回忆。它从独特的
电脑故障诊断与排除十日速成-含1DVD 本书特色 电脑入门九日速成电脑上网技巧十日速成 电脑组装与维护八日速成电脑应用技巧九日速成网上开店七日速成 常用工具...
《使用html、css和javascript开发android程序》是《buildingandroidappswithhtml,css,andjavascrip...
《扶贫志》内容简介:本书为反映决战脱贫攻坚重大主题的长篇报告文学,作品以精准扶贫首倡地花垣县为切入点,辐射具有典型意义的扶
李永宏、马强、赵琦编著的《语言科学研究的MATLAB实现》主要讨论MATLAB的程序设计方法及其在语言科学研究中的初步应用,通过层次
本书详细介绍了利用PHP+MySQL开发常见类型Web应用程序的完整设计和编码技术,并对整体设计与关键代码给予了细致、深入的剖析。其
Sinceitsfoundingin1989byTerrenceSejnowski,NeuralComputationhasbecometheleadingjo...
《温公家范(译注)》内容简介:司马光用“家范”进行命名,其本意是要让这本书成为教家治家的典范、楷模。从内容构成来说,一方面
《家校合作共育:中国家庭教育的新趋势》内容简介:提升一个民族的家庭教育水平,不仅需要把握全国家庭教育的现状和特点,以判断其
《从零开始学做酒店经理》内容简介:酒店经理是酒店服务管理工作中的重要岗位。如何成为一名优秀的酒店经理?如何开展与实施酒店管
《打造超级区块链社区:建设、运营、实践》内容简介:《打造超级区块链社区:建设、运营、实践》从社区、区块链、运营这3个方面重点
《新零售进化论》内容简介:本书主要介绍了新零售的进化现象和规律,提出了新零售的第一性原理是物理数据二重性,即在新零售时代,
ThedesignersJasperMorrisonandNaotoFukasawahavecompiled204everydayobjectsinsearch...
《Axure RP8实战手册》内容简介:本书是一本介绍使用Axure RP 8.0软件制作Web和App原型的图书,通过对基础操作和实战案例的讲解,帮
《我的最后一本减肥书(畅销增修版)》内容简介:修订版依然定位减肥科普,在前版科学减肥理论的基础上重新整理、完善、增订,用大
内容简介本书全面介绍了统计自然语言处理的基本概念、理论方法和最新研究进展,内容包括形式语言与自动机及其在自然语言处理中的