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

Operator abuse, or is it? #3

Open
bencochran opened this issue Feb 10, 2015 · 0 comments
Open

Operator abuse, or is it? #3

bencochran opened this issue Feb 10, 2015 · 0 comments

Comments

@bencochran
Copy link
Owner

I need to ponder how I feel about the overloading of == and similar.

There’s this not in the documentation: “x == y implies y == x” which made me ponder the constraint 15 == view.left. While it’s not necessarily how I’d think about auto layout, it is possible to enable Pinocchio to create that (and have it equal view.left == 15). Same goes for >= and <=

(And now I’m wondering if there’s a case in Auto Layout where attribute1 == multiplier × attribute2 + constant != attribute2 == attribute1 / multiplier - (constant / multiplier))

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

No branches or pull requests

1 participant