Java Property Conventions
<p>This is a question on convention and I just wondered if anyone knows the reasoning behind a certain one. I refer to the Java convention of "property " naming. A typical class with a property would be defined as below:</p>

<pre><code>class ExampleClass { 
       getMyProperty() { ... }
       setMyProperty(object value) { ... }
}
</code></pre>

<p>Now, I understand that Java preceded languages such as C# where properties are a language feature, however I find the convention that addresses this a little odd. Obviously, they are just functions, why give them different names? Why not define it as below then they appear next to each other in Intellisense, and software that uses a convention to identify getters and setters can simply look for a method overloaded functions to isolate getters and setters and use the name out of the box. Plus it looks neater and is less verbose:</p>

<pre><code>class ExampleClass { 
       myProperty() { ... }
       myProperty(object value) { ... }
}
</code></pre>

<p>Thanks</p>
