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

No Self.DoubleWidth and Self.Plus1 aliases #137

Closed
oscbyspro opened this issue Jun 15, 2023 · 0 comments
Closed

No Self.DoubleWidth and Self.Plus1 aliases #137

oscbyspro opened this issue Jun 15, 2023 · 0 comments
Labels
subtraction huh? where did it go?
Milestone

Comments

@oscbyspro
Copy link
Owner

From oscbyspro/Numberick#12

The NBKDoubleWidth model has a type alias called DoubledWidth, which is double the width of Self. It makes sense, but I would prefer not having things break if I decide to remove the NBK prefix. I considered renaming it Doubled but decided against it. I'm also not convinced it reads better than NBKDoubleWidth<Self> because there's value in consistency. I don't want an alias that appears once or twice to be a source of confusion.

Note: It was less of a problem with a model name like ANKFullWidth, but the last point still stands.

@oscbyspro oscbyspro added the subtraction huh? where did it go? label Jun 15, 2023
@oscbyspro oscbyspro added this to the v3.0.0 milestone Jun 15, 2023
@oscbyspro oscbyspro changed the title Remove Self.DoubleWidth and Self.Plus1 type aliases No Self.DoubleWidth and Self.Plus1 type aliases Jun 15, 2023
@oscbyspro oscbyspro changed the title No Self.DoubleWidth and Self.Plus1 type aliases No Self.DoubleWidth and Self.Plus1 aliases Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtraction huh? where did it go?
Projects
None yet
Development

No branches or pull requests

1 participant