News for hackers. Stuff that matters.
Re:Modern Pascal is still in the race (2022) by optymizer on Wednesday October 11, 2023 @08:21PM (#37852072)
I swear if I see one more "int* x, y" example I will flip a keyboard. This isn't the 90s anymore. Everyone and their mother knows about this one pitfall, repeated for decades by people who have yet to read the memo that we now declare one variable per line, so it is never an issue. Even if you make this mistake, it's the least of your worries when coding in C because the compiler will typically warn you when you try to use the integer as a pointer.

Get with the program: types on the left, names on the right, one declaration per line.

There are no comments on this comment yet.