|
|
|
[
Permlink
| « Hide
]
Scott Fleckenstein - 14/Dec/04 01:00 AM
operators.zip is a patch (and added files) to enable the above behavior. It seems to work pretty well, but whether it is ready for prime time is the community's decision.
Apparrently I am an idiot, since the one time i didn't check the patch it broke. Something happened with the #regions in some of the files. This patch should successfully apply.
Sorry everyone I'm down with that - its a cleaner, easier to read syntax than having op_... everywhere, that's for sure.
Approved syntax for operator overloading described at: http://groups.google.com/group/boolang/msg/6a00315e5939e28a?hl=en&
Does that mean we get the spaceship operator, too?
I don't see why not. It's a nice shortcut for "==", "!=", "<", ">", "<=", ">="
Even a lot of C# people want it: http://blogs.msdn.com/abhinaba/archive/2005/10/11/479537.aspx http://www.dotnetjunkies.com/WebLog/anoras/archive/2005/10/11/133164.aspx |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||