c#设计模式oop [英] c# design patterns oop

查看:88
本文介绍了c#设计模式oop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



如何改善我的OOP-DESIGN模式大脑。我是OOP的孩子。你会推荐任何书籍或教程。我知道签名但是需要提高我的OOP大脑。

提前感谢

Hello

How improve my OOP-DESIGN patterns brain.I am child in OOP .Would yo recommend any book,or tutorials on this .I know the signature.But need improve my OOP brain.
thanks in advance

推荐答案

来吧!认为!你怎么改善你的知识?读一本书!试试这一个 [ ^ ]。
Come on! Think! How else do you improve your knowledge of anything?? Read a book! Try this one[^].


模式很酷但不是你需要的。



除了模式之外,还需要了解架构和代码的组织方式。

在大多数情况下,它比你开发的抽象工厂更重要。



首先我推荐这个:Mcconnell - 完美代码。



模式很简单,但不要使用他们只是因为你知道它。

模式应该只在那里使用。
Patterns is cool but not all you need.

Beside patterns you need to understand how your architecture and code organized.
In the most cases, it is more important than abstract factory you have developed.

First I recommend this: Mcconnell — Perfect Code.

Patterns are easy, but do not use them just because you know it.
Patterns should be used only there where they should be.


另请参阅:

http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29 [ ^ ]。



我认真地认为更重要的技能是识别和避免反模式的能力。请参阅:

http://en.wikipedia.org/wiki/Anti-pattern [ ^ ]。



在现实生活中,还有更多。



至于设计模式,重要的是不要制作一个崇拜它们。您需要了解这些想法,并从深入了解其目标开发出一个软件项目。在这条道路上,您可以选择模式,组合它们甚至发明新模式或修改现有模式。使用你知道的图案可能是有害的。



-SA
Please see also:
http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29[^].

I seriously think that the more important skill is the ability to recognize and avoid anti-patterns. Please see:
http://en.wikipedia.org/wiki/Anti-pattern[^].

In real life, there are a lot more.

As to the design patterns, it''s important not to make a cult of them. You rather need to understand the ideas, and develop a software project going from deep understanding of its goals. In this road, you can choose pattern, combine them and even invent new ones or modify existing pattern. Dogmatic use of pattens you know can be harmful.

—SA


这篇关于c#设计模式oop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆