3 ms·
While the first example that uses separate if and foreach structures is more lines of code, I find it easier to read. It quickly makes sense to someone with jus
by nathanwdavis 17y ago
While the first example that uses separate if and foreach structures is more lines of code, I find it easier to read. It quickly makes sense to someone with just a basic knowledge of common code structures.
I prefer to use something that is more readable, even it is more lines of code.