I want to make 4 suggestions for the lint utility:

1) detect properties/methods that do not exist for certain objects (I
know js is not typesafe and someone can pass any object type to a
function, but this feature may be possible to some extent of static
code analysis)
2) detect if variables that were never defined using "var" appear in the code.
(something like object.existingMethod(never_defined_value);  is valid
and that should not be the case)
3) the output of lint should make a distinction between Warnings and Errors
4) an error should be accompanied by the line that caused it (this
speeds things up since you want to quickly see what caused the
problem)


As a separate(maybe not as useful suggestion) an utilty to make a map
of dependencies of functions to each other would be useful.

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to