ZhangZhihui's Blog  

2024年8月15日

摘要: Introduced in Python 3.8 via the typing module, Protocols offer a more flexible approach than ABCs, known as structural duck typing, where an object i 阅读全文
posted @ 2024-08-15 22:03 ZhangZhihuiAAA 阅读(7) 评论(0) 推荐(0) 编辑
 
摘要: Encapsulate What Varies One of the most common challenges in software development is dealing with change. Requirements evolve, technologies advance, a 阅读全文
posted @ 2024-08-15 21:40 ZhangZhihuiAAA 阅读(13) 评论(0) 推荐(0) 编辑
 
摘要: A natural way to deal with uncertainty is to introduce probabilistic rules. In the simplest case, we can imagine an FSM-like device having no commands 阅读全文
posted @ 2024-08-15 19:53 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0) 编辑