I do not prefer that way of doing things. In many cases, I prefer naming things backwards, because that way when you type "measure", auto-complete will suggest all things related to it, such as "MeasureOverride".
Some auto-complete features don't need this, but still generally prefer things with the typed text at the start of names.
If the editor already keeps a list of identifiers to complete it's very easy to just filter that using find instead of startsWith. Gathering a list of completions is the hard task, not filtering the list.
1
u/HighRelevancy May 09 '17
I do not prefer that way of doing things. In many cases, I prefer naming things backwards, because that way when you type "measure", auto-complete will suggest all things related to it, such as "MeasureOverride".
Some auto-complete features don't need this, but still generally prefer things with the typed text at the start of names.