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

Remove increment/decrement operators #65

Open
omar opened this issue Nov 6, 2021 · 0 comments
Open

Remove increment/decrement operators #65

omar opened this issue Nov 6, 2021 · 0 comments

Comments

@omar
Copy link
Owner

omar commented Nov 6, 2021

Incrementing or decrementing a ByteSize object by 1 byte doesn't seem to fit well with the overall design. 1 byte was an arbitrary value picked. Additionally, ByteSize was modeled after DateTime/TimeSpan, both of which don't have an increment or decrement operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant