Top "Identifier" questions

An identifier is a name that identifies either a unique object or a unique class of objects.

Regular expression to confirm whether a string is a valid Python identifier?

I have the following definition for an Identifier: Identifier --> letter{ letter| digit} Basically I have an identifier function …

python regex for-loop identifier
Why is negative id or zero considered a bad practice?

Why is negative id or zero considered a bad practice when inserting a primary key in a database table? I …

database database-design primary-key identifier least-astonishment
Android: R.java: error <identifier> expected

I am a beginner to android development, and was following the training guide at developer.android.com (Better tutorials would …

java android identifier
Android 10: IMEI no longer available on API 29. Looking for alternatives

Our client's app main feature is heavily relaying on tracking their clients' devices, they offer products that are bound to …

android api identifier imei
Is main a valid Java identifier?

One of my kids is taking Java in high school and had this on one of his tests: Which of …

java language-lawyer main identifier
dollar sign in variable name?

I stumbled on some C++ code like this: int $T$S; First I thought that it was some sort of …

c++ variables visual-c++ identifier variable-names
Generating a unique ID in PHP

I'm trying to generate a unique ID in php in order to store user-uploaded content on a FS without conflicts. …

php guid unique uuid identifier
Solidity ParserError: Expected identifier but got '='

Why does the code below contain an error (ParserError: Expected identifier but got '='). contract Test { struct Box { uint …

constructor ethereum identifier solidity parsing-error
Is there a method in C# to check if a string is a valid identifier

In Java, there are methods called isJavaIdentifierStart and isJavaIdentifierPart on the Character class that may be used to tell if …

c# identifier
What is the meaning of leading underscores in a C++ constructor?

OK I am not a very experienced C++ programmer, but I was wondering what is the significance of the underscores …

c++ syntax constructor arguments identifier