Live data from Hacker News

Google releases Closure, the tools behind the JS geniuses

ajaxian.com

1–10 of 21 posts

Re: Google releases Closure, the tools behind the JS geniuses

#3
post #2

how is this different from the likes of jquery? edit: it seems the library is similar in terms of dom manipulation, but the compiler and templating system seem to be the major differences?

The Closure Compiler is the big news. As the article says, it turns your regular JavaScript code into compact, high-performance JavaScript code. This is some of the magic behind Google Maps, Gmail, and I assume Wave.

This is a very big deal for JavaScript developers because it is like having JSLint, YUI Compressor, and Chuck Norris rolled into one.

Re: Google releases Closure, the tools behind the JS geniuses

#5
post #3
post #2

how is this different from the likes of jquery? edit: it seems the library is similar in terms of dom manipulation, but the compiler and templating system seem to be the major differences?

The Closure Compiler is the big news. As the article says, it turns your regular JavaScript code into compact, high-performance JavaScript code. This is some of the magic behind Google Maps, Gmail, and I assume Wave. This is a very big deal for JavaScript developers because it is like having JSLint, YUI Compressor, and Chuck Norris rolled into one.

Sort of, except it has its problems:

http://webreflection.blogspot.com/2009/11/google-closure-im-...

Re: Google releases Closure, the tools behind the JS geniuses

#6
It would be interesting to see what gives developer better productivity in the long run: Closure or GWT?

I'm big fan of GWT myself, and one of the reasons is that it allows me to build bigger projects: my JS projects always reached maintainability problems sooner than GWT projects.

Re: Google releases Closure, the tools behind the JS geniuses

#7
Does it provide any support for avoiding/detecting Javascript "memory leaks" which are easy to create with closures and anonymous functions?

That's what interests me the most.

The stuff they have here for annotating types (love the type expressions), equivalent of #define are major conveniences to ease development. And long overdue. So thanks, Google.

Re: Google releases Closure, the tools behind the JS geniuses

#9
post #8

it looks like they're giving away their incredibly sexy ui components.

i wish they'd post screenshots of this stuff so i didn't have to download it just to see what the various ui elements looked like..

just fire up gmail :-)

I think sexy was a bit of sarcasm.

Re: Google releases Closure, the tools behind the JS geniuses

#10
post #8

it looks like they're giving away their incredibly sexy ui components.

i wish they'd post screenshots of this stuff so i didn't have to download it just to see what the various ui elements looked like..

From the api docs there is a 'demo' link on some pages. It looks like not all of the widgets have demo pages. I wish more api docs did this.
Post reply on HN