-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
List of weak/unclear variable names to improve (some may need discussion) #923
Comments
or |
I combed through the files in the utils folder today. Most of it looks good or was touched upon in Michelle's comments above. One thing did stick out to me, though: [] |
Great find! That's actually another attempt at |
This looks like a duplicate, but it's not quite:
In my opinion Also, see #952. |
|
|
From #968 (#968 (review)):
|
|
|
Include the variable name and the file path in which it appears. You can also add notes explaining yourself. Feel free to add them below or in new comments! Please don't get rid of or change something that someone else put down, though you can certainly add to the conversation surrounding it.
activeID
GraphTimeButtons.jsclient
Everywhere. There are twoclient
s. One for a client's account and one for the client data. Even without that, I'm not sureclient
is a great name for that data as it grows. The latter is complicated by the fact that it has thecurrent
andfuture
props. Options:1.
account
oraccountData
for... account data.2.
answers
for form data. Then it can be all form data, not just client data. E.g. whether the client wants to fill in extra expense amounts. Is that something we want?current
andfuture
don't really fit into that model.3.
responses
(similar, though with problems)4.
benefitData
ordataForBenefits
😕5.
household
for client data, since it really is the household we're collecting info about. This may change if we start to calculate individual benefits, such as with MassHealth. We'd have to talk to SMEs about that.predictions
Predictions.js and it's associated stuff. Not sure about this. We may need to keep it as it is since it indicates the future. It's partly a 'plain language' thing. Maybereport
would work, but it's not as specific.timeClient
or whatever it is. I have to go. I'll find it later.This may not be the best format for doing this. What would be better? Something with a reddit-like commenting system? We can discuss.
The text was updated successfully, but these errors were encountered: