OOP中级教程

I am very eager to learn in depth OOP concepts and most importantly how they can be applied in "real life". So far, I have read many references and many tutorials online but they all lack something: They do not provide a way to fully understand how object oriented programming can be truly used. In fact, it seems that most tutorial focus on OOP "syntax" as opposed to "the art of OOP design". Since OOP is a set of concept/idea/best practice in thinking about a problem and tackling that problem in a way to allow a better productivity I really want more. I want something to help me think as an "OOP designer" and not an "OOP programmer". Can someone provide with me a resource (preferably an online resource) that actually provides a non trivial example on how to apply OOP? Although I am aware that OOP is language agnostic, I would prefer examples in C#.

#0

IMHO the best resources are not available online. This former SO post contains pointers to some very good books:

https://stackoverflow.com/questions/3315633/which-is-the-best-book-to-learn-and-implement-design-patterns-using-c

#1

Check the following books;

  1. Object-Oriented Analysis and Design with Applications
  2. Code Complete
  3. Design Patterns Explained

Not sure online versions avialable

#3

Good question. I've read many of the books that are suggested here, but I still struggle sometimes with good object design. In fact I've become somewhat disillusioned with Object Design. I think two books that are worth reading are

Robert C. Martin - Clean Code Robert C. Martin - Agile Principles, Patterns, and Practices in C# (but be aware that the C# code is a bit outdated)

#4

see this question and answers: What is the single most influential book every programmer should read? there really great books mentioned there(not just OOP).

推荐文章

推荐使用Visual Studio 2008进行SharePoint 2007工作流开发(也称为定制)的书籍?

推荐使用Visual Studio 2008进行SharePoint 2007工作流开发(也称为定制)的书籍?

推荐文章

BIOS内部版本号和标识号?

BIOS内部版本号和标识号?

推荐文章

异步图像加载到TableView单元格

异步图像加载到TableView单元格

推荐文章

使用php获取任何网页的元信息、标题和所有图像

使用php获取任何网页的元信息、标题和所有图像

推荐文章

将app.config文件重新定位到自定义路径

将app.config文件重新定位到自定义路径

推荐文章

AIML模式匹配-如何?

AIML模式匹配-如何?

推荐文章

java线程安全代码+原子方法问题

java线程安全代码+原子方法问题

推荐文章

集市+CruiseControl.Net

集市+CruiseControl.Net

推荐文章

多个项目上的区域-在子项目中找不到视图

多个项目上的区域-在子项目中找不到视图

推荐文章

awk和bash脚本

awk和bash脚本

推荐文章

贝宝经常性支付

贝宝经常性支付

推荐文章

面向python的Html敏捷包

面向python的Html敏捷包

推荐文章

C++与节俭:入门的需要

C++与节俭:入门的需要

推荐文章

JPA@Version:如何使用?

JPA@Version:如何使用?

推荐文章

计算机锁定时自动关闭显示器

计算机锁定时自动关闭显示器

推荐文章

使用与所有主流浏览器兼容的javascript创建条形图、折线图和饼图时要使用什么?

使用与所有主流浏览器兼容的javascript创建条形图、折线图和饼图时要使用什么?