News for hackers. Stuff that matters.
Re:3.5 Years, 500k Lines of Go by grey-area on Friday March 24, 2017 @04:58PM (#13952178)
In C#, you can overload operators, so the + could in theory do anything.

What can be confusing is what the meaning of `+` (or `plus` is)

QED

Re:3.5 Years, 500k Lines of Go by norswap on Saturday March 25, 2017 @12:57PM (#13956503)
Any function can do anything. I can write a function called "read_from_file()" that doesn't read any files.

Amazing, I know.

Also please actually read the comment before replying:

> Operator overloading is nice, but has to be used tastefully.

Re:3.5 Years, 500k Lines of Go by grey-area on Sunday March 26, 2017 @12:42PM (#13961613)
The point the OP made was that operator overloading is not nice - it means that any operator (not just function) can do anything. It makes code harder to read and reason about.