I've recently inherited an old Java application. Almost every variable has a $ at the end of it such as: String log$ = "job: " + task$;
As I understand it, using a $ in a variable violates Java's naming conventions. This is not a convention that's been used in other applications here either. When I asked around to find out why the application was written this way, I was told that the original developer's explanation was that the $ signals for immediate garbage collection as soon as the variable is out of scope.
I've been unable to find any sources that back up this explanation. Does anyone know if using a $ at the end of a variable has any special significance?