SyntaxFix
Write A Post
Hire A Developer
Questions
i personally would prefer
if(true == foo) { }
there is no chance for the ==/= mistype and i find it more expressive in terms of foo's type. But it is a very subjective question.