-
-
Notifications
You must be signed in to change notification settings - Fork 36
Enclose selectors so that it's clear what they are #257
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
Comments
Quoting @stasm from #263 (comment):
The thing that struck me about this example is that when glancing at it, I first see the undelimited If instead the delimiters were around the keys:
it becomes much easier for me to see the contents before I see the markup. |
+1 to @markusicu and @eemeli for preferring delimiting selector value tuples. It reduces cognitive load for humans when they mentally parse. The original comment also mentions delimiting the definitions of the selectors, which sounds consistent and preferable to me. |
Issue #253 has our previous discussion on the topic, although it only focused on the part about selector value tuples, not their definitions. The comments there, too, are in support of delimiting, asking why we wouldn't. |
This might be one of the issues that are too fine-grained. #253 is so closely related that it might be a good idea to close this one and continue the discussion there. |
Conclusion: This issue is redundant, will continue in #253. |
@markusicu wrote in #230 (comment):
The text was updated successfully, but these errors were encountered: