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

straight! permits negative lengths #11

Closed
ajkeller34 opened this issue May 19, 2017 · 1 comment
Closed

straight! permits negative lengths #11

ajkeller34 opened this issue May 19, 2017 · 1 comment

Comments

@ajkeller34
Copy link
Contributor

...resulting in undesirable behavior in most conceivable cases. Possible solutions include:

  • Maintaining the status quo
  • Taking abs of the length and emitting no warning
  • Taking abs of the length and emitting a warning
  • Throwing an ArgumentError
@ajkeller34
Copy link
Contributor Author

Going for option 4: you're doing something wrong if you use a negative length.

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