News for hackers. Stuff that matters.
Re:The C23 edition of Modern C is now available for free by int_19h on Friday October 18, 2024 @11:14AM (#41880187)
Sather (1991) used operator overloading for output. And, even more hilariously, they overloaded + in the same way as C++ overloaded <<, giving you:

   #OUT + "Hello, " + name + "!";
Re:The C23 edition of Modern C is now available for free by tialaramex on Friday October 18, 2024 @02:04PM (#41881919)
I did not know this nor indeed that Sather existed. Thanks. I don't feel as though "But Sather did it too" counts as a good reason for I/O streams, but thanks for telling me.
Re:The C23 edition of Modern C is now available for free by int_19h on Friday October 18, 2024 @06:51PM (#41884205)
I don't think it's a good reason, and FWIW I'm pretty sure they got the idea from C++ - iostream design predates ISO C++ by quite a bit. I remember seeing << for that with stuff like Borland C++ 3.1 that also originates in 90s, back when you had to write #include <iostream.h> etc. Just noting that this is not such an obviously bad idea that nobody else hasn't fallen into the same trap.