@kai_fell I feel like you didn't try to understand the point he was making.
You can agree or disagree (I disagree)--so long as you see the point.
"Where was that function that creates a new career?"
*search "new_career"*
Thank goodness the function name was good because that variable...
@ErikssonUlric@kai_fell You also didn't try to understand the point.
And I showed the variable being relevant outside its scope:
"I know there is a function that does this thing..."
Your knowledge is outside that function's scope.
@ProgramMax@kai_fell Scope is literally the point here. Outside the function, the variable has no meaning. There is no reason to search for it. Inside the function, "searching" for it means looking at the eleven lines where it is mentioned, all of which conveniently fit on the screen.
@ProgramMax@ErikssonUlric@kai_fell So you're telling me that when you search for the Career object instantiations in your codebase you're searching for all the variable names you used ? That is a very weird way to do stuff.