Re:Don't Use Booleans
by smitty1e on Tuesday July 09, 2024 @03:22PM
(#40919880)
Python's enum support[0] seems quite comprehensive, as well.
The nice thing about a class is that when some bizarre edge case comes up (and whose Extract, Transform, Load process has not?) one can isolate the weirdness.
The nice thing about a class is that when some bizarre edge case comes up (and whose Extract, Transform, Load process has not?) one can isolate the weirdness.
[0] https://docs.python.org/3/library/enum.html