lkml.org 
[lkml]   [1997]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Style question: comparison between signed and unsigned?
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 |
`----------------------------------------------------------------------'


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.102 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site