News for hackers. Stuff that matters.
Re:Python 3 Types in the Wild: A Tale of Two Type Systems [pdf] by KMag on Thursday April 15, 2021 @06:08AM (#26818462)
Depending on how your code is structured, phantom types might work for your use case. They're useful for tracking metadata about the values being passed around, even though the methods and fields don't differ between your use cases.
Re:Python 3 Types in the Wild: A Tale of Two Type Systems [pdf] by pmontra on Friday April 16, 2021 @10:30AM (#26834336)