Is there a convention, when using Java RMI, to use the dollar sign $ in a variable name?
Posted
by Thomas Owens
on Stack Overflow
See other posts from Stack Overflow
or by Thomas Owens
Published on 2010-01-01T00:49:12Z
Indexed on
2010/04/04
5:53 UTC
Read the original article
Hit count: 348
I realize that it is a valid part of a variable name, but I've never seen variable names actually use the symbol $ before.
The Java tutorial says this:
Additionally, the dollar sign character, by convention, is never used at all. You may find some situations where auto-generated names will contain the dollar sign, but your variable names should always avoid using it.
However, since this is geared toward Java beginners, I'm wondering if in the distributed world, the $ lives on with a special meaning.
© Stack Overflow or respective owner