3 ms·
awesome! i really hope projects like this gain traction and are actually used by hackers. staunch supporters of statically-typed languages often criticize the l
by pgbovine 17y ago
awesome! i really hope projects like this gain traction and are actually used by hackers. staunch supporters of statically-typed languages often criticize the lack of IDE/static analysis tool support for dynamic languages like python/js/ruby, citing that it's simply harder to create a good static analysis for dynamically-typed languages. while this is true in theory, in practice type, type inference and local dataflow analyses work pretty darn well, since people aren't just using types willy nilly in these languages --- there's actually a lot of implicit structure
- jermy 17y agoQuite. This'll be an awesome addition to the python toolbox when a diagnostic tool is built around it. Just in case anybody else is new to jython and wants to give Steve's HTML indexing demo a go: $ mkdir google-indexer && cd google-indexer $ wget http://bugs.jython.org/file756/google-indexer.zip $ unzip google-indexer.zip $ svn co https://jython.svn.sourceforge.net/svnroot/jython/trunk/jython $ cd jython $ patch -p0 < ../google-indexer-patch.diff $ tar zxvf ../google-indexer-newfiles.tar.gz $ ant jar And then (following the suggestion in the top of the HtmlDemo class - see src/org/python/indexer/demos/HtmlDemo.java for how to do this on the whole stdlib) $ java -classpath ./dist/jython-dev.jar:./extlibs/antlr-runtime-3.1.3.jar:./extlibs/constantine.jar org.python.indexer.demos.HtmlDemo /usr/lib/python2.4/email This will produce a set of files in html/. Use a suitable browser to view $ google-chrome html/Message.py.html