q[ID] ^ q[Id] in variable+function names

Both forms are popular.

  • someId is easier to type on keyboard
  • someIdGenerator is nice camel case , but if we know in advance “generator” is rarely needed, then …
  • ID is more readable by itself, but someId is fairly readable