Variable Names

Variable- and Function Names

By law: [A-Za-z\_]+[A-Za-z0-9\_]*

  • Must start with letter or ‘_’

  • Next may come digits

  • Reserved names (z.B. while) not allowed

Examples …

Be defensive: the standard states that names starting with underscores are reserved for standard libraries