3 ms·
know what this will be about without reading Python 3.12-style type annnotations are a good example imo, no one uses the type statement because dataset inertia
by _as_text 2y ago
know what this will be about without reading
Python 3.12-style type annnotations are a good example imo, no one uses the type statement because dataset inertia
- deleted 2y ago[deleted]
- bigfishrunning 2y agoUsually, i remember that type annotations exist when I'm debugging after things aren't working. If you look at the python code that I've written, type annotations are a sure sign that "there was a problem here". it's like a scar on repaired code
- DrFalkyn 2y agoType annotations by themselves, are little more than a comment
- OutOfHere 2y agoThey're more than that as they allow for easy consistency checking of types across calls. This makes all the difference.