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

Consider using inline objects for simple cases #33

Closed
FWDekker opened this issue Sep 27, 2020 · 0 comments
Closed

Consider using inline objects for simple cases #33

FWDekker opened this issue Sep 27, 2020 · 0 comments
Assignees
Labels
code-quality Code changes without behavior changes

Comments

@FWDekker
Copy link
Owner

Should I construct very simple objects inline or should I use listsToJsonObject, which requires the construction of two arrays? The former is less code, but the latter may be less error-prone?

@FWDekker FWDekker added the code-quality Code changes without behavior changes label Sep 27, 2020
@FWDekker FWDekker self-assigned this Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-quality Code changes without behavior changes
Projects
None yet
Development

No branches or pull requests

1 participant