Open RobH123 opened 3 years ago
Some functions use parameters, e.g., functionA(username, languageCode, ...);
Others (mostly functions written by other uW programmers) pass objects, e.g., functionB({ username: adjustedUsername, languageCode, ...});
Having both forms is both confusing and error-prone.
Find out:
Then decide which is best and make this code more consistent.
Note to self @mandolyte ; consider above...
Some functions use parameters, e.g., functionA(username, languageCode, ...);
Others (mostly functions written by other uW programmers) pass objects, e.g., functionB({ username: adjustedUsername, languageCode, ...});
Having both forms is both confusing and error-prone.
Find out:
Then decide which is best and make this code more consistent.