Y
Hacker News
new
|
ask
|
show
|
jobs
by
recursive
3504 days ago
IMO operator overloading is less bad than goto. (C# has them both)
C# also has yield, async, structs, reflection on generics, and a number of other features.
1 comments
samfisher83
3504 days ago
I think using goto when breaking multiple loops is useful.At least you know where the next line will be.
link
recursive
3504 days ago
There are reasonable applications for goto. But I think there are more reasonable applications for operator overloading. (like Complex, BigInteger, or dimensional types)
link