You pick the winners! Login and vote now.
By jicksta
via jicksta.com
Published: Aug 30 2007 / 23:43
Superators is a new Ruby library that, with only a bit of fancy Ruby trickery (no C extensions), new operators can be defined such as -~+~-, ++, <---, =~~, and so forth. Check out the code examples.
SaveShareSend
Tags: methodology, news, open source, ruby
Comments
Jim Wilson replied ago:
That's really slick - tricking Ruby into treating multiple successive unary operators as a single new operator. I'm impressed!
Voters For This Link (12)
Voters Against This Link (1)