Better HN
topnewbestaskshowjobs
Log inSign up

zertosh

117 karma · joined Nov 20, 2011 (15y ago) · 7 submissions

Submissions

comment 12y ago · link · parent

Articles like this miss the _true_ genius of jQuery – that it basically wraps all DOM operations in a maybe monad. You get null safety for free.

comment 12y ago · link · parent

You read my mind. That was one of the sources I was going through that motived me to make this.

comment 12y ago · link · parent

I'm the author. I've made extensions for Chrome before (https://github.com/zertosh/jquery-audit) and I don't think I can incorporate this in a nice way. I'll look into FF. As for a standalone site, I really dig that idea - stay tuned. I'm also learning more about the Uglify internals to submit this as a patch.

comment 12y ago · link · parent

I'm the author. Since "a", "b", "c" get recycled by different scopes, it makes it really hard to figure out which "a" you're looking that. By having unique names, you can easily spot where one variable is used exclusively. I was going to use a dictionary but I didn't want the tool to be language specific or run into unsavory words.

comment 12y ago · link · parent

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.

6.

Show HN: Beautify-with-words unminifies JS with unique words for variable names(github.com ↗)

67 points · by zertosh · 12y ago · 34 comments

7.

Show HN: jQuery Audit – Chrome dev tools extension(github.com ↗)

44 points · by zertosh · 12y ago · 5 comments