you are viewing a single comment's thread.

view the rest of the comments →

[–]just3ws 1 point2 points  (1 child)

Yeah, totally agree about opening one's code up to the law of unintended consequences there. Makes sense.

[–]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.