MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vda9j/deleted_by_user/ceru5wt/?context=3
r/ProgrammerHumor • u/[deleted] • Jan 16 '14
[removed]
446 comments sorted by
View all comments
Show parent comment
1
Finally, the docs explicitly state the x or y syntax as "if x is false, then y, else x" which fits in line with only returning y if x is equivalent to false (such as an empty string).
x or y
Oh. It's fair game now.
(And I should start reading the docs more often.)
View all comments
Show parent comment
1
u/kqr Jan 17 '14
Oh. It's fair game now.
(And I should start reading the docs more often.)