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

Define the default constructor as explicitly defaulted #42

Open
Pharap opened this issue May 28, 2018 · 0 comments
Open

Define the default constructor as explicitly defaulted #42

Pharap opened this issue May 28, 2018 · 0 comments
Assignees
Labels
Feature Request This issue is a request for a particular feature Major This change is a major breaking change Optimisation This change somehow improves optimisation
Milestone

Comments

@Pharap
Copy link
Owner

Pharap commented May 28, 2018

Defaulting to zero is probably expected behaviour for inexperienced programmers,
but experienced programmers are probably more used to default construction being a nop.

As more experienced programmers are becoming interested in this library and as being a more optimal choice than floats is part of this library's goal, it might make sense to undo the decision to make default construction initialise with 0.

@Pharap Pharap self-assigned this May 28, 2018
@Pharap Pharap added this to the v2.0.0 milestone Sep 26, 2019
@Pharap Pharap added Feature Request This issue is a request for a particular feature Major This change is a major breaking change Optimisation This change somehow improves optimisation labels Mar 25, 2021
@Pharap Pharap changed the title Consider making the default constructor not default to 0 Define the default constructor as explicitly defaulted Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This issue is a request for a particular feature Major This change is a major breaking change Optimisation This change somehow improves optimisation
Projects
None yet
Development

No branches or pull requests

1 participant