Tagged articles
2 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Jul 18, 2025 · Fundamentals

Why Using None as a Sentinel Is Dangerous and How to Replace It

This article explains why treating None as a default missing value can silently corrupt logic in growing Python codebases, and demonstrates how to use explicit sentinel objects—such as custom objects or the built‑in Ellipsis—to make intent clear, improve debugging, and avoid subtle bugs.

Nonecode claritysentinel
0 likes · 6 min read
Why Using None as a Sentinel Is Dangerous and How to Replace It
Qunar Tech Salon
Qunar Tech Salon
Jun 22, 2016 · Fundamentals

Three Life Lessons Learned from 17 Years of Programming

After seventeen years of coding, the author shares three enduring lessons—balancing trade‑offs, valuing clarity over mere brevity, and treating technical debt as a manageable asset—illustrated with real‑world examples, ORM discussions, and code snippets that apply both to software development and everyday decisions.

Software EngineeringTechnical Debtcode clarity
0 likes · 8 min read
Three Life Lessons Learned from 17 Years of Programming