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

Interchange { } and {! !} #70

Open
AndreVanDelft opened this issue Jan 30, 2015 · 2 comments
Open

Interchange { } and {! !} #70

AndreVanDelft opened this issue Jan 30, 2015 · 2 comments

Comments

@AndreVanDelft
Copy link
Owner

{ } looks more tiny than {! !}, but up to now the former marks a "fat" atomic action, whereas the latter a so-called "tiny" code fragment. This should be the other way round; then all atomic actions would have at least one other symbol next to the braces, as in {? ?}, {* *}, {. .}, {... ...}.

@anatoliykmetyuk
Copy link
Collaborator

I don't think it is worthwhile doing. A purely cosmetic change will break the entire codebase we have by now. Also, a normal code fragment is the one that is used most frequently - hence, it must be the smallest one to type.

@AndreVanDelft
Copy link
Owner Author

FTTB we can leave it as it is.
I think though that it would be better if the most frequently used code would be the tiny code fragment, rather than the atomic action. The latter requires much more processing power, and in many cases it may well be replaced by a tiny code fragment, AFAIK.
I'd have to read through all existing examples to see whether this is really true.

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

2 participants