-
Java code to test if a string is a valid java identifier.
public class IdentifierTest { /** * @param args the command line arguments */ public static void main(String[] args) { for(String arg : args) { boolean start = true; boolean validIdentifier = true; arg.toCharArray() // commenter pointed out my error //for(byte b : arg.getBytes()) { for(char b : arg.toCharArray()) { if(start) { validIdentifier = validIdentifier &&…
-
Do you really want me as a customer?
Don’t make me log in or create an account just to place my order. Don’t make me do a password reset just because I haven’t logged in and I’ve forgotten my password. If you absolutely insist on doing a password reset, do this instead: Take my email and password + repeat password, regardless of whether…
