Tuple attribute naming conventions

Tuple attribute names must succinctly describe what the attribute represents.

Here are tips for naming tuple attributes:

  • Use fully qualified tuple attribute names inside operators with logic-state variables to avoid shadowing.
  • Attribute names normally use camel case, with the first character in lowercase (tickerAttribute).
  • When the identifier is short, attribute names can be written with all characters in lowercase. Using short names is acceptable because attributes usually belong to stream types with meaningful names.