2 ms·
Yes, there are situations where changing the structure of the code is better than having an 'if' like the example you gave. But this doesn't mean that it's bet
by raverbashing 14y ago
Yes, there are situations where changing the structure of the code is better than having an 'if' like the example you gave.
But this doesn't mean that it's better to completely eliminate ifs