Re: Standard integer types vs <stdint.h> ; types
Flash Gordon said:
<snip>
>
That, in my opinion, is an argument over the chosen names rather than
the addition of the types.
Yes, it is. My argument against the new types *was* that they are
unnecessary, but I accept that what I really mean is that *I* don't see a
need for them in the kind of code I tend to write. If they will bring real
benefits to other C programmers, well, they're a wart I can live with,
since at least I won't have to come across it all that often, and then
only in other people's code, not my own.
But they could have found better names, surely? Abigail, for instance. Or
Rhododendron.
Yeah, all right, maybe not those precise names... :-)
Is ugliness a problem? I guess ugliness is in the eye of the beholder.
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Flash Gordon said:
Richard Heathfield wrote, On 18/01/08 11:29:
>At the very least, [C with new integer types] becomes *uglier* to read.
>C as it stands, if well-written, is at least a relatively elegant
>language, not just technically and syntactically but also visually. All
>these stretched-out underscore-infested type names will be a real
>nuisance when scanning quickly through unfamiliar code.
>C as it stands, if well-written, is at least a relatively elegant
>language, not just technically and syntactically but also visually. All
>these stretched-out underscore-infested type names will be a real
>nuisance when scanning quickly through unfamiliar code.
That, in my opinion, is an argument over the chosen names rather than
the addition of the types.
unnecessary, but I accept that what I really mean is that *I* don't see a
need for them in the kind of code I tend to write. If they will bring real
benefits to other C programmers, well, they're a wart I can live with,
since at least I won't have to come across it all that often, and then
only in other people's code, not my own.
But they could have found better names, surely? Abigail, for instance. Or
Rhododendron.
Yeah, all right, maybe not those precise names... :-)
Personally I don't find underscores in names
a problem for scanning, especially once I have learnt the patterns.
a problem for scanning, especially once I have learnt the patterns.
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Comment