News for hackers. Stuff that matters.
Re:Modern C for C++ Peeps by moloch-hai on Saturday January 07, 2023 @11:03AM (#34289297)
It is hidden because you have to "examine" somewhere else before you know. But it doesn't matter, because you don't need to know unless it is subject to invisible implicit conversions. What might you do differently, having "examined" the typedef?
Re:Modern C for C++ Peeps by Warwolt on Saturday January 07, 2023 @11:36AM (#34289663)
I understand the preference for keeping the struct tag, but virtually no other language does this, with modern IDEs it's trivial to find out what the definition of a given type is, so the tag seems superfluous to me in practice.
Re:Modern C for C++ Peeps by Jtsummers on Saturday January 07, 2023 @11:41AM (#34289714)
* * *