News for hackers. Stuff that matters.
Re:Kotlin Money by refulgentis on Tuesday October 08, 2024 @02:03PM (#41780051)
I agree, you nailed it. Operators are something that feels like using the new shiny but are repeating well-trodden mistakes that are well-understand in languages ranging in age from C++ to Swift.
Re:Kotlin Money by t-writescode on Tuesday October 08, 2024 @07:28PM (#41782883)
I was referring to in-fix, like can be found in Kotlin and Ruby, not necessarily operator overloads. I've found pretty usable operator overloading, in appropriate contexts, like adding two lists meaning append.