2 ms·
>if a method is called only once I often consider that a code smell Well I certainly disagree; it often makes sense to separate out a singly-called function if
by chimprich 10y ago
>if a method is called only once I often consider that a code smell
Well I certainly disagree; it often makes sense to separate out a singly-called function if for no other reason than to be able to unit test that functionality individually.