Method Names

“The intention of good naming is not to blurt out as much as you can about your program as quickly as you can.” —

*Implementation Patterns by Kent Beck*

I need to get better at naming. In Implementation Patterns Kent Beck discusses the importance of naming methods and discusses the importance of having declarative names that should start with verbs if the method is carrying out an action. I am going to try and make sure the names I have in my TicTacToe are declarative where they need to be and as short as possible.

I have previously named methods and variables as descriptively as possible so that I can keep track of what they are doing, but this has actually made some of my code harder to read as there is a lot going on and it looks messy. Spending that little bit of extra time thinking of short names that make sense in context is definitely worth it.

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.