News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by SeanLuke on Friday April 29, 2022 @01:31PM (#31208235)
> In languages with operator overloading this just isn't a concern at all because == does the obvious thing

And what is the obvious thing? It varies wildly among languages, even within C++ itself.

Re:Lies we tell ourselves to keep using Golang by delta64 on Saturday April 30, 2022 @09:11AM (#31215810)
The obvious thing is to check if the contents are equal. I don't know what cursed C++ you're looking at if you're finding a ton of string implementations not doing exactly that...