News for hackers. Stuff that matters.
Re:C will never stop you from making mistakes by Ragnarork on Monday August 10, 2020 @11:56AM (#24110632)
I'm in the same boat, and I'd like to add that I agree that using `int* p, * q, * r;` is not pretty, and could possibly lead to ending up mistakenly with `int* p, q, r;`.

But we're in 2020 and we've learned to avoid to declaring stuff without initializing it at the same time to avoid the stupid mistake of using something uninitialized.

Interestingly enough, testing with clang shows that uninitialized variables get their warning, but uninitialized raw pointers don't.

There are no comments on this comment yet.