i really don’t think an IDE is a full substitute. it sure would be nice to attach a REPL into a running java process and inspect/modify state…
and assume it’s avail on any java install so that you can leverage it on a system in prod. but you are right, it’s not a limitation of java really, it’s just that oracle/sun never supported it. there is nothing stopping people from using one of the options out there. On Tue, Feb 25, 2014 at 5:23 PM, Cédric Beust ♔ <[email protected]> wrote: > Also, I find the characterization "you must go through full static > compilation cycles just to explore ideas" grossly exaggerated. Eclipse and > IDEA are constantly compiling your code incrementally (like the Smalltalk > IDE does) and they give you access to tools that are as much as if not more > powerful than the Smalltalk REPL (Eclipse has scratch pads and Display > views, IDEA has an evaluation window). > > And the lack of a real REPL for Java is certainly not due to a limitation > (since there are plenty already, BeanShell, Groovy, Scala) but more an > indication that when you have a good IDE, there is little need for a REPL. > > > -- > Cédric > > > > On Tue, Feb 25, 2014 at 3:49 PM, clay <[email protected]> wrote: > >> Java doesn't have an official REPL, but it has many widely used high >> quality options. Groovy is largely a superset of Java, so groovysh works. >> Beanshell REPL works. I've seen other free Java REPLs on the Internet. I >> often build my Java projects with SBT and use the built-in Scala console >> REPL to test Java code which is nice because your entire project and all >> dependencies are fully loaded. >> >> >> On Tuesday, February 25, 2014 3:52:28 PM UTC-6, KWright wrote: >>> >>> 5. Non-interactive. Not even a REPL; you must go through full static >>> compilation cycles just to explore ideas >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Java Posse" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/javaposse. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups > "Java Posse" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/javaposse. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/javaposse. For more options, visit https://groups.google.com/groups/opt_out.
