News for hackers. Stuff that matters.
Re:My personal C coding style as of late 2023 by Communitivity on Monday October 09, 2023 @04:15AM (#37818201)
No program should every have variables names according to [a-z][1-9]+ pattern, except perhaps loop indices - and not even then.
Re:My personal C coding style as of late 2023 by lelanthran on Monday October 09, 2023 @04:17AM (#37818213)
> No program should every have variables names according to [a-z][1-9]+ pattern, except perhaps loop indices - and not even then.

What's that got to do with not breaking existing programs?

Re:My personal C coding style as of late 2023 by bdw5204 on Monday October 09, 2023 @08:43AM (#37819851)
Those may be terrible variable names but they were understandable back in the 70s and 80s when disk space was at a premium and compilers only cared about the first 6 characters in a variable or function name. That's the downside of a 50 or so year old programming language: you have to worry about not breaking legacy code that did things based on the hardware limitations of that time.