3 ms·
Fair point, but IMNSHO for a different reason: it brings an unnecessary risk of writing "if (isValid = true)" - and now you're in trouble ;)
by Piskvorrr 11y ago
Fair point, but IMNSHO for a different reason: it brings an unnecessary risk of writing "if (isValid = true)" - and now you're in trouble ;)
- piess 11y agoI just got what you are saying. Yes you would be setting the value in that case instead of checking it. Very dangerous territory.