|
|
|
|
|
by spaetzleesser
1669 days ago
|
|
You have to have real good taste to use operator overloading. Often it just leads to obfuscated code where the operators have weird behavior. Extension methods are also way overused. I have had numerous occasions where I thought the .NET framework was buggy only find out that it was somebody’s badly written extension method causing problems. |
|
Gross exaggeration. Just a bit of plain common sense. Do override operators to perform matrix ops. Do not override + operator to do multiplication instead. And do not subtract apples from cars.
As for your further example as I said give shitty programmer code in any language and they will manage to fuck it up.