News for hackers. Stuff that matters.
Re:Please tell me you don't write if true equals true by Piskvorrr on Friday February 12, 2016 @07:39AM (#11086775)
Fair point, but IMNSHO for a different reason: it brings an unnecessary risk of writing "if (isValid = true)" - and now you're in trouble ;)
Re:Please tell me you don't write if true equals true by piess on Friday February 12, 2016 @02:25PM (#11089770)
I just got what you are saying. Yes you would be setting the value in that case instead of checking it. Very dangerous territory.