Quote:
Originally Posted by Stefan
I prefer B, I think A comes from C++ where it sometimes looks better when you show that you make a boolean comparison and not some check-for-valid-pointer hack.
A is also slower although the comparions-operation is not really that slow. It looks a little bit weird to compare with true or false though, "if (true==true)"
|
That would be a bit wierd, I always use while / if (true); So I suppose I alternate between A and B =]