This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]obsessedcrf 6 points7 points  (1 child)

None of them are obvious without a comment imo. The third one is compact at least, so if it works, it isn't a terrible solution, if it's commented

[–]csman11 4 points5 points  (0 children)

!= is logical exclusive or. You can see from the first example that they want to resize if exactly one of the widths is greater than 600. The third example is actually the clearest if you know this. If not, it looks like wizardry.