what do the letters k, g, f, etc mean

What do the letters k, g, f, etc mean when put before something e.g:

 
  fGundam, kDekkard, gForestGump
What do the letters k, g, f, etc mean when put before something

Can you show us your full variable declarations?
Some people prefix their vars or constants with a letter. So g could mean global, k could mean constant, f is sometimes used for flags i.e. bool.
closed account (E0p9LyTq)
It looks like a version of Hungarian Notation:
https://en.wikipedia.org/wiki/Hungarian_notation
Also some people put "no" in front of variable names to indicate it is a running count of something.

Like noDogs means "number of dogs".

But people who don't know this will get confused thinking "no dogs" and just be like "what?! is it a boolean?!?!".
closed account (E0p9LyTq)
If I were to use a prefix to indicate a running count of dogs it would be something like numDogs, to make it self-documenting. I agree noDogs would be confusing.
Plus, although I'm a cat guy, noDogs would be sad :( ...
Topic archived. No new replies allowed.