How to name variables, methods and classes - method used in text book