Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover: Commonly use standardized wording #26989

Conversation

muramura
Copy link
Contributor

@muramura muramura commented May 6, 2024

The same message is present in three places.
I make the message variable.

AFTER
Screenshot from 2024-05-06 19-12-45

Copy link
Contributor

@khancyr khancyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Not change on compiled code , but still good to get

@tridge
Copy link
Contributor

tridge commented Jun 3, 2024

note that the compiler already does this for us, no flash savings here

@tridge
Copy link
Contributor

tridge commented Jun 3, 2024

up to @rmackay9

@peterbarker
Copy link
Contributor

Sorry, I think this arrangement is objectively worse.

The text message is being removed from the context in the code where it is being used. The variable does not convey the same information to the programmer as the text.

There's no technical advantage at this point. Perhaps if someone wants to change all three at the same time it will save that programmer 15 or 20 seconds?!

Sorry, closing this.

@peterbarker peterbarker closed this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants