3 ms·
It looks like it was, I wasn't aware of that :) It also looks like it's been deprecated since C89 and the use of the style has also been discouraged since then
by _gabe_ 3y ago
It looks like it was, I wasn't aware of that :)
It also looks like it's been deprecated since C89 and the use of the style has also been discouraged since then according to this article[0].
> At the time, they felt they could not remove the K&R “old-style” definitions. It had not been deprecated long enough, and the new syntax had not been around for long enough (it hadn’t been around at all, in fact). So, they rolled it into C89 deprecated, and explicitly discouraged its use for some 33+ years.
[0]: https://thephd.dev/ever-closer-c23-improvements#at-the-time-they-felt-they-could-not-remove-the-k-r-%E2%80%9Cold-style%E2%80%9D https://thephd.dev/ever-closer-c23-improvements#at-the-time-...