"without a Java IDE"
This was your problem. Programming Java without an IDE that recompiles your changes on the fly is just so arcane and really slows you down as you noticed.
Which is great, but that's almost not the main issue. In the ipython REPL I can work with my code and data at the same time. It's a huge disadvantage to not be be able to probe your data to create a working process.
The Java VM has hot code swapping builtin (IIRC limited to method bodies but the commercial JRebel drops that limitation).
Start your program in your IDE's debugger (or point it to your application server where your program is running) and you can change the code immediately, rerun your methods, change variables, inspect the objects, etc.
It's more than a simple REPL, it's a full-blown debugger and it comes really close to what you have in a SmallTalk image where your code, data, and environment is all the same.
Re:“Did you mean?” Experience in Ruby
by spacemanmatt on Thursday October 23, 2014 @10:49AM
(#8498379)
So true. Java was designed for tooling. Using it without tooling is actual using it against its design.
Also for J2EE you need jrebel.
Re:“Did you mean?” Experience in Ruby
by sillysaurus3 on Thursday October 23, 2014 @05:48AM
(#8497375)
Would you mind making a little screencast demo of your workflow? (Or do you know of any?) That sounds so cool.
Sure. I'm not near my machine for a couple of days but I'll post something when I get the chance. I see your contact info is in your profile so will ping an email when done.
UPDATE: video here https://www.youtube.com/watch?v=k-mAuNY9szI
Sound quality isn't great but hopefully it demonstrates what I'm talking about.
Re:“Did you mean?” Experience in Ruby
by nslamberth on Thursday October 23, 2014 @11:49AM
(#8498794)
Me as well, if you're offering.
I find iPython interesting but haven't figured out how to integrate it into my current workflow of Sublime/Terminal.
Re:“Did you mean?” Experience in Ruby
by sillysaurus3 on Thursday October 23, 2014 @01:25PM
(#8499441)
Thank you very much! I look forward to it!
Re:“Did you mean?” Experience in Ruby
by jeffwidman on Thursday October 23, 2014 @12:20PM
(#8499002)
I'd be curious to see this as well
Contrast with some Java I was doing recently (granted, without a Java IDE) and I found the whole cycle painfully slow. Even things the compiler picked up were a magnitude slower to find than when I was in ipython. And then there were plenty of things the compiler wouldn't get, which could take a good minute for me to discover from the time I made the edit. It's insane to me that people don't work in a REPL.