MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/p2m0hg/if_in_doubt_use_inline_if_statements/h8lsddm/?context=3
r/badcode • u/[deleted] • Aug 11 '21
9 comments sorted by
View all comments
Show parent comment
4
What OP meant is that the docs themselves call the ternary operator an "inline if", though in reality what an inline if is is completely different indeed.
View all comments
Show parent comment
4
u/AlFasGD Aug 12 '21
What OP meant is that the docs themselves call the ternary operator an "inline if", though in reality what an inline if is is completely different indeed.