Re:Show HN: Beautify-with-words unminifies JS with unique wo...
by zertosh on Monday January 27, 2014 @12:22PM
(#7131614)
I'm the author. Search-and-replace is the main problem this solves. Another neat effect is that if you use something like Sublime Text, you can highlight a word (variable), and see all the occurrences. Makes it much easier to figure out what unminifed code is doing without all the collisions from "h" for example.
Re:Show HN: Beautify-with-words unminifies JS with unique wo...
by slg on Monday January 27, 2014 @12:29PM
(#7131669)
Makes sense. I would add that tip to the readme. I don't think it will be immediately obvious to people, so bringing attention to the ability to find and replace will make the renaming a more attractive feature.
My specific question would be whether using longer gibberish variable names is any more helpful than using short names. I don't know if 'quinis' is better than 'h' or 'tenmiey' is better than 'a'? I guess at the very least it should provide a much easier find and replace once you figure out what the variable should actually be named.