news
6
The article explains why Python’s None is often an inadequate way to represent absence and how custom sentinel values can better fill that role. It also covers how PEP 661 makes sentinels first-class citizens in Python 3.15.
The article explains why Python’s None is often an inadequate way to represent absence and how custom sentinel values can better fill that role. It also covers how PEP 661 makes sentinels first-class citizens in Python 3.15.
Comments
0Discuss on Hacker NewsOnly full members can comment
Log in to express your opinion.
No comments yet.