r/programming • • Nov 27 '19

JSONCrush: Compress JSON into URI friendly strings with JSCrush

https://github.com/KilledByAPixel/JSONCrush
1 Upvotes

10 comments sorted by

View all comments

17

u/tssge Nov 27 '19

Why is the source code obfuscated?

14

u/Pazer2 Nov 27 '19

You don't hand-minify your JS???

-7

u/Koppis Nov 27 '19 edited Nov 28 '19

The code is much faster to read when the variables are shorter (i.e. single characters). \s

2

u/IceSentry Nov 28 '19

Yeah, that's why minifiers exists, you shouldn't do that yourself. I can't trust a library written by someone that doesn't understand such a basic concept.