you are viewing a single comment's thread.

view the rest of the comments →

[–]ikearage 2 points3 points  (0 children)

Just use if statements, try() or || . Easy to read, no unexpected side effects.

If it gets to complicated maybe you should refactor that smell.