Re: Style question: comparison between signed and unsigned?

Mike Jagdis (mike@roan.co.uk)
Wed, 24 Sep 1997 09:37:34 +0100 (GMT/BST)


On Tue, 23 Sep 1997, Theodore Y. Ts'o wrote:

> The fact of the matter is, by having the compiler issue these warnings,
> it makes folks much more likely to ignore *all* compiler warnings, since
> so many of them will be false positives.

In my experience it means that programmers start to figure C is
so dumb they have to explicitly cast *everything* - which not
only makes it impossible to read their code but ensures neither
the compiler nor the human has the faintest idea whether the
programmer *really* intended a type conversion or if there is
a bug lurking. Not good.

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'