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

[feature request] change the order of strings #3

Open
sashee opened this issue Jun 13, 2016 · 0 comments
Open

[feature request] change the order of strings #3

sashee opened this issue Jun 13, 2016 · 0 comments

Comments

@sashee
Copy link

sashee commented Jun 13, 2016

The transformation currently keeps the order of strings the same as they appeared in the codebase. This makes literals that are close to each other (and possibly related to each other) close in the output.

For example in the sample in the readme, the result is ["property", "with", "a string literal", "other", "call", "is", "here"]. I think it would be better to sort them, for example put them in alphabetical order. That would make the example like: ["a string literal", "call", "here", "is", "other", "property", "with"].

This would make larger programs even harder to decypher, as a reader has no idea where to look for related literals.

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