News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by reverius42 on Wednesday July 16, 2025 @05:02AM (#44580178)
I'm not sure how "operator+" is supposed to be appreciably different from "__add__".
Re:I'm Switching to Python and Actually Liking It by brabel on Wednesday July 16, 2025 @06:39AM (#44580700)
One is a sensible choice a human might pick. The other is not.
Re:I'm Switching to Python and Actually Liking It by orphea on Wednesday July 16, 2025 @07:05AM (#44580855)
Both are doing their job just fine?
Re:I'm Switching to Python and Actually Liking It by acdha on Wednesday July 16, 2025 @08:30AM (#44581515)
So who were the non-humans who picked the one you don’t like?
Re:I'm Switching to Python and Actually Liking It by dragonwriter on Wednesday July 16, 2025 @02:54PM (#44585640)
They are both sensible choices that a human did pick, that's how they got into their respective languages.
Re:I'm Switching to Python and Actually Liking It by WesolyKubeczek on Wednesday July 16, 2025 @03:08PM (#44585751)
They have different locality of behavior, for one.
Re:I'm Switching to Python and Actually Liking It by reverius42 on Wednesday July 30, 2025 @03:47AM (#44731787)
I meant as a choice of name.
Re:I'm Switching to Python and Actually Liking It by reverius42 on Wednesday July 30, 2025 @03:48AM (#44731789)
And what makes one name "special" while the other is only "pseudo-special"?