[webkit-dev] Naming convention for static member variables

Simon Fraser simon.fraser at apple.com
Wed Feb 19 11:28:16 PST 2020


class Foo {
  static bool thing.
};

What's the naming convention for static member variables like this? I've seen m_foo, which seems positively harmful. I've seen s_foo, which I like.

There are 165 instances of s_ that I can find in the project. There are 17 instances of static m_.

Simon



More information about the webkit-dev mailing list