News for hackers. Stuff that matters.
Re:Django, now with JavaScript tests by anon3_ on Friday July 03, 2015 @01:27AM (#9823689)
From TFA:

> Behind the scenes, compress.py is a front-end for Google’s Closure Compiler which is written in Java. However, the Closure Compiler library is not bundled with Django directly, so those wishing to contribute complete JavaScript patches will need to download and install the library independently. The Closure Compiler library requires Java 7 or higher.

Why Java? Why Clojure?

How did the core team of django come to the conclusion that Java should be apart of the stack?

Re:Django, now with JavaScript tests by arthur_debert on Friday July 03, 2015 @01:41AM (#9823723)
Has nothing to do with Java. There's no stack. They're simply chose the best Javascript compiler available.

Pretty simple, really

Re:Django, now with JavaScript tests by rbanffy on Friday July 03, 2015 @09:06AM (#9825313)
> Why Clojure?

Not Clojure, the Lisp dialect. Closure is a JavaScript dialect invented by Google with some niceties added. They seem to be using their minifier.

If you are running Eclipse, you already have a Java runtime somewhere in your machine anyway.

Re:Django, now with JavaScript tests by alexhill on Friday July 03, 2015 @04:06AM (#9824209)
AFAIK there isn't a widely-used, solid JS compressor written in Python, so you're adding a dependency either way. You either need a Java runtime for the Closure Compiler, or you need Node to run uglify or similar.