A question of aesthetics
In general conversation, like on these forums, when you write the name of a method that requires arguments without specifying the arguments, do you put parentheses after it? Because to me that looks like you're talking about a no-argument version of the method. On the other hand, leaving off the parenthesis obscures the fact that it's a method.
I write it both ways, inconsistently.
I try to use () for generic kinds of words like method or update or print if they are methods and there might be confusion.
No consideration on what args they can take.
I use an ellipsis e.g. paintComponent(...)
Ditto here except when the method doesn't take parameters (in a feeble attempt to avoid confusion).
Originally Posted by DarrylBurke
I might refer to something as SomeThing, SomeThing(), something or something() - but I doubt if the intended distinction betwen the 5 forms is always recognised. If the arguments matter I say that explicity: "the SomeThing() constructor which takes a pair of String arguments" etc.