Object-Oriented Programming With ANSI-C 在線電子書 圖書標籤: C 麵嚮對象 編程 C語言 編程語言 程序設計 計算機 Programming
發表於2024-11-25
Object-Oriented Programming With ANSI-C 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024
麵試
評分各種指針的花哨技巧。這本書函數指針聲明不用typedef來簡化是一個缺點,接口和實現也沒有分離,沒有做到較好的封裝,容易讓客戶程序員揣測實現機製,馬馬虎虎,適閤初學者開拓視野。
評分蠻有意思的一本關於用c構建麵嚮對象思想的書,不過並不適閤用於項目開發當中。
評分也是一個麵嚮語言編程的簡單應用
評分其中的設計和模式,並不夠好,反而把C搞復雜瞭。但基本用C模擬麵相對象的方法是一樣的。我有一套更好的OOC,並已經在遊戲引擎使用瞭。
http://www.cs.rit.edu/~ats/
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.
有人在stackover上问:如何用C写出面向对象的代码?回答的人推荐了这本书。正巧,这也是我想问的问题,于是看了这本书。 C是一个非常灵活的语言,而面向对象是一种思想。作者认为这两者并不冲突,而是可以完美的结合在一起,并且我们可以从中享受到许多乐趣。这本书详细的介绍...
評分有人在stackover上问:如何用C写出面向对象的代码?回答的人推荐了这本书。正巧,这也是我想问的问题,于是看了这本书。 C是一个非常灵活的语言,而面向对象是一种思想。作者认为这两者并不冲突,而是可以完美的结合在一起,并且我们可以从中享受到许多乐趣。这本书详细的介绍...
評分有人在stackover上问:如何用C写出面向对象的代码?回答的人推荐了这本书。正巧,这也是我想问的问题,于是看了这本书。 C是一个非常灵活的语言,而面向对象是一种思想。作者认为这两者并不冲突,而是可以完美的结合在一起,并且我们可以从中享受到许多乐趣。这本书详细的介绍...
評分通过这本书你可以明白C++, Java, Python 等面向对象语言中的类、继承、实例、连接、方法、对象、多态... 都是如何实现的. 能让你通过C来写出优美并可以重用的代码. 中文地址: http://wiki.chinaunix.net/index.php/OOC
評分有人在stackover上问:如何用C写出面向对象的代码?回答的人推荐了这本书。正巧,这也是我想问的问题,于是看了这本书。 C是一个非常灵活的语言,而面向对象是一种思想。作者认为这两者并不冲突,而是可以完美的结合在一起,并且我们可以从中享受到许多乐趣。这本书详细的介绍...
Object-Oriented Programming With ANSI-C 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024