Re:Why Python Is Not My Favorite Language (2016)
by Turing_Machine on Tuesday June 20, 2017 @10:23AM
(#14594838)
I am thinking of a function in the Windows 3.0 API that was declared in the header file as returning BOOL, but actually could return TRUE, FALSE, or -1 (which, of course, is true according to C's rules).
Worse, I didn't have the docs -- just the header file. That one cost me a fair amount of head scratching before I figured it out.
Worse, I didn't have the docs -- just the header file. That one cost me a fair amount of head scratching before I figured it out.