Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
类似这种叫什么模式?
julyclyde
·
julyclyde
·
Aug 24, 2024
· 13194 views
This topic created in 801 days ago, the information mentioned may be changed or developed.
类似 socketserver 和 handler asynchat 这类,把通信和应答功能分离的 叫什么模式?
模式
分离
通信
6 replies
•
2024-09-10 10:40:46 +08:00
R4rvZ6agNVWr56V0
Aug 24, 2024
1
1
处理器模式( Handler Pattern )或回调模式( Callback Pattern )
SuperDaFu
Aug 25, 2024
2
我理解,设计模式的基础是做好 职责分离,只做自己分内的事情。
julyclyde
OP
Aug 26, 2024
3
@
SuperDaFu
虽然你说的对,但你这句话和我的提问有什么关系呢?
SuperDaFu
Sep 1, 2024
4
@
julyclyde
关系就是设计模式往往解决的是小职责的问题,你的问题应该落到设计原则,而不是简单的设计模式上。
julyclyde
OP
Sep 2, 2024
5
@
SuperDaFu
你想多了
dode
Sep 10, 2024
6
适配器模式,责任链模式,代理模式
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
5613 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 02:37
·
PVG 10:37
·
LAX 18:37
·
JFK 21:37
♥ Do have faith in what you're doing.
❯