Hacker News new | ask | show | jobs
by photon-torpedo 3254 days ago
Julia can do this as well:

    result = if boolean_flag do_this(); else do_that(); end
Though it does have the ternary ?: operator too.