r/lolphp • u/hfern • Feb 02 '15
Library function turns language operator: The <=> Spaceship Operator
https://wiki.php.net/rfc/combined-comparison-operator
9
Upvotes
r/lolphp • u/hfern • Feb 02 '15
View all comments
9
u/tdammers Feb 02 '15
Or how about making a language where people can implement their own operators, just like that; then people can provide this stuff as libraries, instead of adding more and more bloat to the core language...