WTB Ruby: def cost(from, to) case [from, to] when ['MEL', 'SYD'] then 50 when [_, 'SYD'] then 100 else 300 end end
@gregmcintyre @mwotton @damncabbage FYI the link to the Ruby code misappropriates the word functor in an anti-knowledge manner.
-
-
@dibblego@mwotton@damncabbage I don't even know what that code was hoping to achieve. Tears, presumably. -
@gregmcintyre@mwotton@damncabbage Yeah don't know. Just saying that the misuse of terms here is not benign. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.