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

Re: Dealing with embedded javascript libraries



On Sun, Oct 23, 2011 at 11:13 PM, Raphael Hertzog wrote:

> And with javascript libraries, there's no failure at build time,
> you only discover much later when something is not working...

This is the crux of the issue and it is not specific to JavaScript
libraries, anything that is interpreted has this issue. I'm pretty
sure I've seen API breakage in libraries implemented in Python for
example.

More automated and manual testing can help here I guess.

Also hopefully maintainers are using the packages they maintain and
will therefore notice when they are broken by newer JavaScript
libraries.

> What are your thoughts on this topic?

One of the other problems with embedded JavaScript libraries is that
often only the pre-compiled/obfuscated/minified version is
distributed, which would be a violation of DFSG item 2.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: