News for hackers. Stuff that matters.
Re:My personal C coding style as of late 2023 by avgcorrection on Monday October 09, 2023 @11:01AM (#37821160)
Yes, that's what it stands for. What's the point of using any prefix at all?
Re:My personal C coding style as of late 2023 by wrs on Monday October 09, 2023 @01:42PM (#37823078)
So you don’t have to wonder if it’s a variable. Old Mac style uses prefixes: kConstant, gGlobalVar, TType, mMemberVar. Remember this was when all coding was done in black and white in a plain text editor.
Re:My personal C coding style as of late 2023 by colejohnson66 on Monday October 09, 2023 @06:03PM (#37826040)
Hungarian notation
Re:My personal C coding style as of late 2023 by Dylan16807 on Wednesday October 11, 2023 @02:39AM (#37841641)
Hungarian notation is for being more specific than the type system allows.

When the type is already "constexpr int", that k isn't helping.