随笔分类 -  Design & Pattern

设计模式
摘要:转自:https://csharpindepth.com/Articles/Singleton#unsafe Implementing the Singleton Pattern in C# Table of contents (for linking purposes...) Introducti 阅读全文
posted @ 2019-04-22 14:51 龍☆ 阅读(178) 评论(0) 推荐(0)
摘要:有了翅膀才能飞,欠缺灵活的代码就象冻坏了翅膀的鸟儿。不能飞翔,就少了几许灵动的气韵。我们需要给代码带去温暖的阳光,让僵冷的翅膀重新飞起来。结合实例,通过应用OOP、设计模式和重构,你会看到代码是怎样一步一步复活的。 为了更好的理解设计思想,实例尽可能简单化。但随着需求的增加,程序将越来越复杂。此时就 阅读全文
posted @ 2017-03-20 14:25 龍☆