You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, let's do something about those var names. Var names start with lowercase, not uppercase.
Second is the use of a string pattern. If you're using StringUtils.format to avoid string concatenation, why use string concat to create the pattern? And why tack on equalString using string concat? I would expect to see:
Noted in phetsims/scenery-phet#446 (comment)...
In CoordinatesRow:
First, let's do something about those var names. Var names start with lowercase, not uppercase.
Second is the use of a string pattern. If you're using
StringUtils.format
to avoid string concatenation, why use string concat to create the pattern? And why tack onequalString
using string concat? I would expect to see:Since this doesn't involve any translated strings, it should technically be converted to named placeholders and
StringUtils.fillIn
, i.e.:But... I see little value in using a string pattern here, and I think string concat would be fine, probably even clearer. I.e.:
The text was updated successfully, but these errors were encountered: