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 Yeah don't know. Just saying that the misuse of terms here is not benign.
-
-
@dibblego@mwotton@damncabbage The term means one thing in maths and another in C++ already. Maybe they were using the C++ definition? -
@gregmcintyre@mwotton@damncabbage The C++ definition is derived from algebra. This code uses no term that corresponds to reality. - 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.