News for hackers. Stuff that matters.
Re:Modern C for C++ Peeps by hot_gril on Saturday January 07, 2023 @07:03PM (#34294477)
It's not necessarily bad, but personally I hardly ever do it, and at work the style guide says no. Gets annoying for other readers to keep checking what something really is, and even for the writer it's usually just extra toil that won't really help you.

Like, my variable is already declared as `int meters` probably. I don't need the redundancy of saying `meters_t meters`. Maybe I even want to store meters as a `long` in certain contexts.

There are no comments on this comment yet.