[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Minified javascripts in packages



2015-04-13 11:37 GMT+02:00 Philip Hands <phil@hands.com>:
> Paul Wise <pabs@debian.org> writes:
>
>> On Mon, Apr 13, 2015 at 12:59 PM, Ben Finney wrote:
>>
>>> Right, I wasn't clear enough: I'm saying that despite all the other
>>> non-JavaScript cases brought up later in the thread, the requirement
>>> (build from source form, with only build dependencies also in Debian)
>>> applies just fine to JavaScript libraries.
>>>
>>> Can we agree on that?
>>
>> As I have seen instances where the JavaScript was built by web
>> services, I'd say the real world is much too complicated to even agree
>> on that.
>
> I presume that we can agree that, if someone started offering a web
> service compiling C code with output an order of magnitude better in
> every dimension than gcc can achieve, we still wouldn't use it for our
> binaries (at least not unless it were available as free software that we
> could host ourselves).  What makes JavaScript worthy of special treatment?
>
> Is it not the case that the JavaScript minification that started this
> thread is just an optimisation?  Surely the source would work fine
> without minification?

Do not forget concatenation of many files to a single lib.
Not doing that can result in the client having many many files to load,
and that's way more unacceptable than without minification.

Jérémy


Reply to: