I need a flexible structure, and I would like to try to enter the code in different places, just to change the behavior on the fly.
Since this is a Java project, and I'm mostly limited to interfaces and playing with the implementations behind them, I thought I could run Jython and see what it could bring to the table.
I mean, eval() is a powerful function, and I could add the code as a string and evaluate it, at least in Python, and the question arose there, since it mostly compiles in Java ...
What limitations exist for Jython compared to Python? What can I do in Python, what can I not do in Jython?
source share