Re:Why Today's Python Developers Are Embracing Type Hints
by _flux on Sunday September 28, 2025 @10:43AM
(#45404688)
Well, at times having a parent pointer is rather useful! E.g. a callback registration will be able to unregister itself from everywhere where it has been registered to, upon request. (One would want to use weak references in this case.)
[ Parent
| on HN ]
Re:Why Today's Python Developers Are Embracing Type Hints
by alfons_foobar on Monday September 29, 2025 @10:30AM
(#45414303)
Fair point!
Maybe I am just a bit burned by this particular example I ran into (where this pattern should IMO not have been used).