You also don’t need to prefix member variables with
m_ anymore. Your classes and functions should be small enough that you don’t need them. And you should be using an editing environment that highlights or colorizes members to make them distinct.
Many languages even put member and local variables in different namespaces so that it's always unambiguous.
Python & Rust: foo, vs: self.foo Go: foo, vs. x.foo
Share this highlighthttp://www.safaribooksonline.com/a/clean-code/19194503/