News for hackers. Stuff that matters.
Re:Adding Modules to C in 10 Lines of Code [pdf] by jhgb on Monday June 27, 2022 @08:46AM (#31893810)
> float default is NaN, why... just WHY!!!!!

> char default is 0xFF....

Invalid values, perhaps? Other than making initialization mandatory, this seems like a reasonable way of catching them. For integer types it's not really possible because all their values are valid.

Re:Adding Modules to C in 10 Lines of Code [pdf] by Shadonototra on Monday June 27, 2022 @10:28AM (#31895042)
I grew to agree, but that doesn't mean that's not annoying.. i'm nitpicking