• Post Reply Bookmark Topic Watch Topic
  • New Topic

the jjs RPEL in nashorn  RSS feed

Jeanne Boyarsky
author & internet detective
Posts: 37256
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm doing the exercises to Cay Horstmann's Java SE 8 for the Really Impatient. After doing the first two I realize that I hate the jjs RPEL command line. I've used RPELs (read evaluate print loop) in other programming languages and I don't have this reaction.

I blogged about why I dislike it and how many attempts it took me to write a simple four line program. Has anyone had a more positive experience they could share?

Part of the problem is that I'm having trouble imagining a use case for integrating Java and JavaScript. I wouldn't want the users running custom code in the JVM of any of my applications (security issue). The RPEL is far more difficult than testing something quickly in an IDE and somewhat slower than a text file that I compile repeatedly.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!