<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>静态类型 on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek001/tags/%E9%9D%99%E6%80%81%E7%B1%BB%E5%9E%8B/</link>
    <description>Recent content in 静态类型 on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 05 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek001/tags/%E9%9D%99%E6%80%81%E7%B1%BB%E5%9E%8B/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python 3.12 基础语法易错点与现代开发最佳实践</title>
      <link>https://index.zshipu.com/geek001/post/20260905/Python-3.12-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95%E6%98%93%E9%94%99%E7%82%B9%E4%B8%8E%E7%8E%B0%E4%BB%A3%E5%BC%80%E5%8F%91%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5/</link>
      <pubDate>Sat, 05 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek001/post/20260905/Python-3.12-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95%E6%98%93%E9%94%99%E7%82%B9%E4%B8%8E%E7%8E%B0%E4%BB%A3%E5%BC%80%E5%8F%91%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5/</guid>
      <description>Python 3.12 把 match-case 推向生产主流，却让不少开发者在模式匹配上栽跟头 实际项目里，match-case 语句在处理 API 返回的复杂 JSON 时能大幅减少 if-elif 嵌套。但很多人在写结构模式时忘记使用 as 关键字捕获子对象，导致后续逻辑拿不到数据。更严重的是，匹配顺序敏感：Python 从上到下逐个尝试，一旦前面宽泛的模式先</description>
    </item>
  </channel>
</rss>
