Post #2212294
2026-05-07 22:11 UTC
@rnd@toot.cat 1/2 uh, since most of the code I wrote was in C, and most of the remainder was in the multifarious languages associated with C (make, imake, sh, C++, M4, sed, awk, ...), I am obligated to point out that C's type system has many clauses, some famous and some infamous, in which the behavior is implementation-defined (which means your implementation was expected to document the behavior, but probably didn't), or undefined behavior, which means anything can happen.
Replies (1)
-
@llewelly@sauropods.win 2026-05-07 22:11
@rnd@toot.cat 2/2 In the eyes of some people, this means C's type system is not strongly typed. Philosophical implications aside, if you expect C to be strongly typed, and your expectations of "strongly typed" are informed by any language(s) other than C, C's type system will give you many nasty surprises.