Hacker News new | ask | show | jobs
by jashkenas 3196 days ago
Bingo. Remember when you first first learned the ternary operator syntax? I recall thinking something along the lines of, "Wow, that's cryptic!"

    result = if condition then success else failure