title: Choosing method/parameter names in Java
body: <p>How should I choose which method names and parameter names/types to use in Java (or any other language for that matter)? And why are there so many ways to choose? </p>
  
  <p>If many people work on a project, it's annoying to see different ways of naming in different parts of the code, especially if people are inconsistent about their usage. Why didn't the inventors of the language simply state a standard -- "This is the EXACT way methods and parameters should be named. Period."? </p>
  
  <p>It would be easier to do programming then. I get stressed by having to choose between a gazillion different parameter/method names each time I write a method and trying to be consequent about how I choose throuhgout the code.</p>
  
  <hr>
  
  <p>Example 1:</p>
  
  <pre><code>public void handleFile(String file)
  public void handleFile(String fileName)
  public void handleFile(File file)
  </code></pre>
  
  <hr>
  
  <p>Example 2:</p>
  
  <pre><code>public void exec(String command)
  public void exec(String cmd)
  public void exec(String commandString)
  public void exec(String cmdString)
  public void execute(String command)
  public void execute(Command command)
  public void execute(Command cmdObj)
  </code></pre>
  
  <p>etc. etc.</p>