Any risk using a single dollar sign `$` as a java class name?
Originally I was using the underscore _ as a class name. The new Java8 compiler complains that it " might not be supported after Java SE 8 ". I changed that to $ , and there is no warning any more. However I remember that $ is used by Java to indicate an inner/embedded class in the byte code. I am wondering if there is any risk to use a dollar sign $ as a class name Some background to this question. What I want to do is to overcome the fact that Java doesn't support pure function, and the _ or $ is to put an namespace to encapsulate some very generic concept (classes/static methods). and