Hacker News new | ask | show | jobs
by armandososa 3109 days ago
Is brevity (in terms of kb) important for this snippets? If not, I think having more explicit variable names (`string` or even `str` instead of `s`) would be better for the purpose of understanding them in less than 30 seconds.

Otherwise, I enjoy reading some of them.

2 comments

It shouldn't be. The programmer should be able to decide, if they care they'll already be using UglifyJS or some other minimizer.
I am not the owner of the project, but from my point of view, brevity should be quite important. Some names could be more descriptive, though.
I agree with you, brevity, as far as quantity of code required to accomplish the goal is concerned, but too many times brevity is confused for compactness, which to me, is the opposite of what you would want with these.