News for hackers. Stuff that matters.
Re:Laconic: A Sane Method of Generating DOM Content in JavaS... by catch23 on Thursday April 26, 2012 @04:56AM (#3893020)
You could use with(){} in js so you don't have to pollute your global namespace and still have pretty code.
Re:Laconic: A Sane Method of Generating DOM Content in JavaS... by mistercow on Thursday April 26, 2012 @10:06AM (#3893937)
Hardly seems worth it to invoke that confusing construct when you could just pack them in an object with a short name instead.