Y
Hacker News
new
|
ask
|
show
|
jobs
by
sicromoft
2181 days ago
This PEP is burying the lede -- it introduces a `@sealed` decorator, which gives python ADTs:
https://www.python.org/dev/peps/pep-0622/#sealed-classes-as-...
1 comments
tayo42
2181 days ago
I guess then python can have either and maybe? That would be real nice. working with exceptions sucks...
link