I agree that it is ugly. I agree that a C programmer rarely falls for
the = vs. == "problem". It would be helpful for recent VB programmers,
or the occasional Pascal programmer. But I have recently begun using it
because of the Real Programmer credo:
"If it was hard to write, it should be hard to read!", Dammit!
I've recently started writing[1] my code with exactly 78 characters on
each line, and all variables held in global arrays (one for each type),
for the same reason. It makes it very unlikely that anyone will be able
to read my code (it's full of gotos as well), as well as being hard to
write.
[1] This is actually a lie, I really write for good clarity and
maintainability, because I might have to maintain it in several years
time when I've forgotton everything about it. I recently came across
some code I wrote almost 20 years ago, aside from being pre-C89 (no
function prototypes) it was still pretty readable...
Chris C