最近在 GitHub 闲逛时,撞见一份由 piglei 打磨出来的免费中文干货,名叫《Python 工匠》。这玩意儿压根不是那种教你怎么写 hello world…
This is a dev post classified by AGK Intelligence as Languages & runtimes (a free resource), kept by the Dev Radar because it carries real work, not commentary.
最近在 GitHub 闲逛时,撞见一份由 piglei 打磨出来的免费中文干货,名叫《Python 工匠》。这玩意儿压根不是那种教你怎么写 hello world 的入门语法书,它死磕的全是日常敲代码时容易被当成小事、却直接拖累可读性和后期维护成本的那些坑。 举个例子:变量到底怎么命名,才能让旁人(哪怕是三个月后的自己)扫一眼就秒懂?注释该在哪儿留、哪儿该闭嘴?条件判断写到多长算刚好、啥时候必须抽出去?还有,拼手速和保稳健之间该咋平衡?这些全是拿真实代码做对照,绝不跟你空谈虚头巴脑的原则。 整份资料足足 16 篇,特别适合那些已经能独立写业务、但回头看自己代码总觉得“勉强能跑、一瞅就闹心”的老哥。有空拿它对着自己的旧项目修修补补,绝对比干啃新语法管用得多。 地址:https://github.com/piglei/one-python-craftsman
Posted by lumxss (32.9k followers) 3 days ago · 70 likes · 2.9k views · view the original post on X. Kept by the Dev Radar as Languages & runtimes. Tools mentioned: one-python-craftsman.
More dev work like this
- Whenever someone interacts with a website, that's potential data a marketer can analyze. — @freeCodeCamp
- Roundhouse turns Rails apps into standalone binaries or services in Rust, Swift,… — @rustaceans_rs
- We're starting work on Pydantic V3. — @pydantic
- zuvloop: a drop-in asyncio event loop, powered by libuv and written in Zig ⚡ — @marcelotryle
- Small Crates Behind Big Rust Systems — @rustaceans_rs
- js tip. infinity — @xah_lee
- massive tech geeking on javascript. — @xah_lee
- Infinity is a lightweight Rust framework for massively concurrent agents—75k fit on a… — @rustaceans_rs
Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 31.2k posts from 5k X accounts over the last 21 days, 8.8k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-10-30 21:12 UTC. Full method.