News for hackers. Stuff that matters.
Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni... by Guvante on Tuesday August 08, 2023 @11:54PM (#37058525)
C# uses the syntax `operator bool` to define conversion so sometimes they get called operator accidentally.
Re:Are Implicit Operators a Path to Clean Code or a Buggy Ni... by _kst_ on Wednesday August 09, 2023 @12:34AM (#37058739)
You mean it uses `operator bool` where `bool` is the target type of the conversion, yes?

I have no problem with the idea that conversions are operators. My point is that the title suggests something far more general that what the body of the article actually discusses. If the title had said "Implicit Conversions" rather than "Implicit Operators", it would have been much clearer and I wouldn't have commented.