[Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?

  • From: 0@xxxxxxxxxxx (0)
  • Date: Sat, 17 Dec 2011 15:33:50 +0530



No. It is very important to stick to the standard. In C's rationale,
existing code is extremely important while existing implementations
are not. [1]. Therefore, #defines like this still work and probably
will work for eternity.

[1] www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf
     Page 9, Line 20

Thanks for the reference link. "0. Introduction" was an interesting read.

-- 
0

Other related posts: