News for hackers. Stuff that matters.
Re:My personal C coding style as of late 2023 by thefourthchime on Sunday October 08, 2023 @10:49PM (#37816449)
I’ve been her 30 years. I’ve never found much use for const. I value brief simple code that doesn’t rely on things like const to tell people what’s going on.

Codebases have their own conventions and design patterns. If you have that const is a needless formality.

Code should be being simple and clean first, constantly stating things that are obvious 90% of the time isn’t that.

There are no comments on this comment yet.