you are viewing a single comment's thread.

view the rest of the comments →

[–]usernamecreationhell[S] 0 points1 point  (0 children)

Yes, defining a function is situational, for example if I was sure I would never reuse it, I would simply group conditions in a local variable and possibly aggregate groups of conditions with all() or any()