Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

His comments about minification are silly. It's entirely dependent on the minifier. Google Closure on my system converts:

if(condition) stuff()

To:

condition&&stuff()

So no, it doesn't add curly brackets and increase the size of the expression. And Google closure converts:

var a=1

var b=2

var c=3

To:

var a=1,b=2,c=3

Not what he said all minifiers do.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: