13 Sep
2011
13 Sep
'11
6:56 p.m.
Frédéric Delanoy <frederic.delanoy(a)gmail.com> writes:
Well IMHO '\0' clearly indicates a char value, while 0 could be an integer (not in this obvioius example of course). This way you've a visual indicator/differentiator with nearby integer values assignments like "foo_integer_var = 0", and this could make the code more readable IMO
They both mean the same thing, and I don't think the extra line noise makes it more readable. But like I said, it's a matter of taste, and you can use the way you prefer in your own code; the corollary is that you can't change it in other people's code. -- Alexandre Julliard julliard(a)winehq.org