This is part of the opinion: yes and no.
If it is βcomplexβ 1 it probably belongs somewhere else.
If it is βjustβ 2 this is not a problem.
It all comes down to readability, maintainability, proper reuse, and doesn't do anything stupid.
1. For different values, "complex". 2. For different values ββ"simple".
Dave newton
source share