JSR 292: Supporting Dynamically Typed Languages on the Java Platform - Early Draft Review
1–5 of 5 posts
Re: JSR 292: Supporting Dynamically Typed Languages on the Java Platform - Early Draft Review
#2I hope this doesn't lead to people using sloppy typing in Java applications.
Re: JSR 292: Supporting Dynamically Typed Languages on the Java Platform - Early Draft Review
#3Strong typing is one of the reasons that I LIKE Java. Especially on large projects it's nice knowing exactly what a variable is, and what data elements and methods are available. I hope this doesn't lead to people using sloppy typing in Java applications.
Re: JSR 292: Supporting Dynamically Typed Languages on the Java Platform - Early Draft Review
#4Strong typing is one of the reasons that I LIKE Java. Especially on large projects it's nice knowing exactly what a variable is, and what data elements and methods are available. I hope this doesn't lead to people using sloppy typing in Java applications.
The idea is to add native support for dynamic languages (e.g. Ruby, Python, etc) to the JVM, not to make the Java language itself dynamic.
Hopefully it won't be an issue.
Re: JSR 292: Supporting Dynamically Typed Languages on the Java Platform - Early Draft Review
#5Earlier quoted context omitted.
The idea is to add native support for dynamic languages (e.g. Ruby, Python, etc) to the JVM, not to make the Java language itself dynamic.
I know. I just worry that people will gravitate toward using more and more dynamic language code in their applications/platforms/frameworks because it's "easier". And then I'll end up needing to use some library that has a truckload of python code in it, that A) isn't strongly typed, and B) I don't understand. Hopefully it won't be an issue.
Another thing I realized was how much code, or rather code-supporting files, where already in other languages around Java. There's Ant, ejb-jar, properties, SQL, numerous internal and external XML, Javadoc, annotations, manifest, xslt, jsp, html, css, javascript. Point 1: don't worry about Python, it's a better language than many of those you're already using with Java. Point 2: with Lisp, it can be all Lisp, or you can integrate with other such languages where you need to. I think the reason Java has all of these satellite languages (especially XML) and files is because the language is so weak and inflexible - Lisp is as flexible as XML, but works nicely as a programming language.