I think that in many cases such function is good style, but you may consider local boolean variable as alternative in cases when you don't need use this condition somewhere in other places e.g.: This will give hint to code reader and save from introducing new function. bool someConditionSatisfied = [complex expression];
cybevnm
- 471
- 4
- 5