Skip to content

Conversation

@Shazwazza
Copy link

If these are not properties and are instead just values then the order in which things are declared in this class matter else you'll end up with empty values. I know this is just demo code and in real life these values should be validated, etc... but it would make things a little more error tolerant to have them as properties to begin with.

If these are not properties and are instead just values then the order in which things are declared in this class matter else you'll end up with empty values. I know this is just demo code and in real life these values should be validated, etc... but it would make things a little more error tolerant to have them as properties to begin with.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant