j
k
j a
j l
result = bar or default
I used to do this, but dropped this habit. Just to be on the safe side if in the future I extend bar to take value for which truth test evaluates to False. And for consistency across the codebase.
Attachments:
Back to the thread
Back to the list