Comment on Pixie: A sweet Clojure-ish languageparentComments−gleenn11yYou can do it in Ruby with 4 parens, or even 0 if inc is really just +1. I wouldn't ever write it with so few but if we're really going down this rabbit hole then we ahould get it right.−afandian11yPlease feel free to contribute a Ruby example (as long as it's normal and idiomatic, this isn't a competition)! I've not written Ruby for years.(inc was just a random function for the sake of showing invocation so it's not really fair to use operators)
Comments
You can do it in Ruby with 4 parens, or even 0 if inc is really just +1. I wouldn't ever write it with so few but if we're really going down this rabbit hole then we ahould get it right.
Please feel free to contribute a Ruby example (as long as it's normal and idiomatic, this isn't a competition)! I've not written Ruby for years.
(inc was just a random function for the sake of showing invocation so it's not really fair to use operators)