<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>编程语言特性 - 标签 - MartinLwx&#39;s Blog</title>
        <link>https://martinlwx.github.io/zh-cn/tags/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E7%89%B9%E6%80%A7/</link>
        <description>编程语言特性 - 标签 - MartinLwx&#39;s Blog</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>martinlwx@163.com (MartinLwx)</managingEditor>
            <webMaster>martinlwx@163.com (MartinLwx)</webMaster><copyright>&lt;a rel=&#34;license noopener&#34; href=&#34;https://creativecommons.org/licenses/by-nc-nd/4.0/&#34; target=&#34;_blank&#34;&gt;CC BY-NC-ND 4.0&lt;/a&gt;</copyright><lastBuildDate>Sat, 17 Aug 2024 12:30:43 &#43;0800</lastBuildDate><atom:link href="https://martinlwx.github.io/zh-cn/tags/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E7%89%B9%E6%80%A7/" rel="self" type="application/rss+xml" /><item>
    <title>@dataclass 简明教程（Python 3.7）</title>
    <link>https://martinlwx.github.io/zh-cn/learn-to-use-dataclass-in-python/</link>
    <pubDate>Sat, 17 Aug 2024 12:30:43 &#43;0800</pubDate><author>
        <name>MartinLwx</name>
    </author><guid>https://martinlwx.github.io/zh-cn/learn-to-use-dataclass-in-python/</guid>
    <description><![CDATA[<h2 id="引言" class="headerLink">
    <a href="#%e5%bc%95%e8%a8%80" class="header-mark"></a>引言</h2><p>Python 的 tuple 很好用，它可以让我们快速地将<strong>不同类型</strong>的值<strong>封装</strong>在一起，作为一个整体进行管理，自带的排序规则也十分直观，简单易用。但实际用下来我发现，一旦 tuple 的字段<strong>比较多</strong>，我就<strong>被迫</strong>要自己写一下注释注明一下<strong>不同位置</strong>的字段的具体含义是啥，比如</p>]]></description>
</item><item>
    <title>海象表达式简明教程（Python 3.8）</title>
    <link>https://martinlwx.github.io/zh-cn/walrus-operator-in-python/</link>
    <pubDate>Sat, 29 Oct 2022 23:35:31 &#43;0800</pubDate><author>
        <name>MartinLwx</name>
    </author><guid>https://martinlwx.github.io/zh-cn/walrus-operator-in-python/</guid>
    <description><![CDATA[<h2 id="引言" class="headerLink">
    <a href="#%e5%bc%95%e8%a8%80" class="header-mark"></a>引言</h2><p>今天要说的是在 Python3.8 中引入的新特性：海象运算符（Walrus operator），这是一个备受争议的特性，但它最后还是通过并发布了🤔</p>
<p>它的功能就是，将赋值语句（<strong>Statements</strong>）变成赋值表达式（<strong>Expression</strong>）。为此，我们先需要了解表达式（Expression）和语句（Statement）的区别</p>]]></description>
</item></channel>
</rss>
