Hacker News new | ask | show | jobs
by pryffwyd 2444 days ago
It appears textually first but the evaluation order is the same as the classic ?: ternary. ```[][0] if False else 'foo'``` will not raise an IndexError.