I realized this as i was looking through a rather complex form submit.
There are lots of places where we use wp*string constants in $request->getText() etc. We should have classes of constants for these query parameter names, so that we don't use strings directly.
One very good reason to do so, is that this allows for easier tracking of which query param names we have to begin with, but much more important, it allows to document them in code, so that i don't have to wonder what that value even does.
https://codesearch-beta.wmcloud.org/things/?q=%5C%27wp&files=&excludeFiles=&repos=