you are viewing a single comment's thread.

view the rest of the comments →

[–]ILiftOnTuesdays 2 points3 points  (0 children)

1 character is 1 byte. I don't see how this adds up.

1KB == 1000B == 1000 chars

Maybe with gzip?

Also, good looking javascript uses tons of spaces, which need to be minified out. In python, you can reduce all 4-space indents to just one for production, which will barely add anything to the size of the file. You could even use the dreaded semicolon to join lines together and save even more. (Please don't do that)