English · 中文

全部标签

type narrowing

1 篇相关文章

用 Protocol 与类型收窄设计可替换的 Python 边界

Dec 6, 2025

用 Python 3.12/3.13 的结构化子类型、TypeGuard 与 TypeIs 为依赖边界提供静态反馈,同时保留运行时验证。

大漠的头像

大漠

软件开发者

  • lukes.lu@yahoo.com
  • github.com/ilukes
  • @lupingui
  • 首页
  • 关于
  • 标签 →
    • SwiftUI
    • OpenAI
    • Responses API
    • cancellation
    • iOS 26 beta
    • reasoning effort
    • AI Agent
    • Codex

©2026 All rights reserved. Made with Jekyll and ♥