Re:Uv is the best thing to happen to the Python ecosystem in...
by callamdelaney on Thursday October 30, 2025 @04:33AM
(#45757649)
Why would operator overloading be absolutely critical? Just use methods. The pipe operator already has around 15 uses and counting, it doesn’t need more
[ Parent
| on HN ]
Re:Uv is the best thing to happen to the Python ecosystem in...
by saagarjha on Thursday October 30, 2025 @04:46AM
(#45757726)
Because writing a.add(b).divide(c) is miserable
Re:Uv is the best thing to happen to the Python ecosystem in...
by CraigJPerry on Thursday October 30, 2025 @04:41AM
(#45757698)
That's a fine approach for "plumbing" type work, you know "join this thing to that thing then call that thing" - and that is most of the code in the world today but it falls apart in math heavy code.
You really just want operators when you're performing tons of operations, it's an absolute wall of text when it's all method calls.