workflow_objc icon indicating copy to clipboard operation
workflow_objc copied to clipboard

Rethink data variable prefixes

Open jonpalmisc opened this issue 4 years ago • 3 comments

Data variable prefixes (e.g. cl_, sr_, etc.) currently have a few problems:

  • They are hardcoded
  • They are only two characters and some natural collisions arise
  • They are not all very descriptive

The short prefixes were originally chosen to prevent bloating the name of the variable and contributing excessive width to lines in which they are used one or more times.

A couple things should be done:

  • Pick better prefixes (maybe copy IDA or do something in between)
  • Make prefixes constants in the code to prevent accidental collisions or de-syncs

jonpalmisc avatar Sep 12 '22 18:09 jonpalmisc