eg prefix for extension config variables
Fragment of a discussion from Manual talk:Coding conventions
It was in there for three years; see r70755 and comments. That's why you've seen other extensions do it.
I don't quite understand, so it's no longer best practice to use it for extensions? Why not?
It's not that it's not best practice, it's that it snuck into the coding conventions under the radar, people read it as gospel, and now we've got $eg and ef all over the place when nobody ever really recommended it to begin with.
You can call your config globals $the_most_awsome_variable_in_the_world if you really wanted to, it doesn't matter in a practical sense.