On 3 Jul 2012 at 2:08, Dave McGuire wrote:
I am also usually guilty of automatically disliking
change for
change's sake, which is what I perceive these "new" typedef abortions
to be. I learned C from the first edition of the K&R book, when the
2nd edition of the K&R book was new. I like function prototypes, but
aside from that, I write bog-standard (really friggin' FAST) plain old
C. I find it to be extremely portable in all but the most unusual of
situations, and for 99% of those, ntohl() and friends have solved my
problems.
I think that the biggest single difference between my C of 30 years
ago and the C I write today is that I use typedefs a lot today; not
so much back then.
But "what's an integer?" has been with us since FORTRAN. 16 bits on
an IBM 1130; 60 bits on a CDC 6600; however many digits you specified
on your IBM 1620 compilation. And yet, it's quite possible to write
very portable FORTRAN or C.
--Chuck