News for hackers. Stuff that matters.
Re:Please tell me you don't write if true equals true by anc84 on Friday February 12, 2016 @07:17AM (#11086694)
Please don't spam your site like that (and with multiple accounts...).
Re:Please tell me you don't write if true equals true by noja on Friday February 12, 2016 @07:47AM (#11086810)
Re:Please tell me you don't write if true equals true by piess on Friday February 12, 2016 @02:01PM (#11089546)
I'm sorry. I'm logged in on different devices. Messed up at the beginning when I first joined. Can't remember password for prjseal one. I'm signed to that automatically at work. I will continue with this piess account and won't repost links. Am I allowed to share new posts from my blog that I think you will find interesting? Please help as I'm new. I'm not a spammer, intentionally.
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.