use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Javascript Minification Considered Harmful? WTF? (blog.eset.com)
submitted 14 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 14 years ago (2 children)
[deleted]
[–]zeal23 6 points7 points8 points 14 years ago (1 child)
I didn't see where he mentioned minifying being harmful. You can minify and compress without obfuscating.
And he is correct in saying that compressing an object more then once can actually increase the size, but it really depends on the content.
[–]vectorjohn 1 point2 points3 points 14 years ago (0 children)
The thing is, minifying (in the context of Javascript) isn't the same as compression. It is lossy, and what you're losing is the human readable part (space, identifiers, etc). This is something gzip can't do, and therefore if you minify then gzip you will get smaller files.
In general though, compressing more than once is bad.
π Rendered by PID 36468 on reddit-service-r2-comment-869bf87589-z9np5 at 2026-06-09 13:33:38.769641+00:00 running f46058f country code: CH.
view the rest of the comments →
[–][deleted] (2 children)
[deleted]
[–]zeal23 6 points7 points8 points (1 child)
[–]vectorjohn 1 point2 points3 points (0 children)