摘要:
在模块化的设计中,对各个模块的解耦是至关重要的,本组件通过可以对模块所扮演的角色定义为发布者、订阅者。订阅者通过订阅的方式注册,发布者内部状态发生变化时不用关心谁会响应自己的消息,发布者发布只管发布消息,由notice组件自动分发消息到已注册的观察者。 阅读全文
摘要:
记录、总结C语言的编程技巧,主要侧重于程序设计,代码整洁规范 阅读全文
Mic_chenIt is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change |