Feedback for the command syntax and the behavior of the temporary variable
ShinyaYoshida
bitterfoxc at gmail.com
Sun Jun 28 05:11:08 UTC 2015
Hi REPL team,
A Japanese developer, @mike_neck, has two opinions(feedback) for our REPL.
You can see the opinion in his blog:
http://mike-neck.hatenadiary.com/entry/2015/06/26/161747
English translation is here:
https://translate.google.co.jp/translate?hl=ja&sl=ja&tl=en&u=http%3A%2F%2Fmike-neck.hatenadiary.com%2Fentry%2F2015%2F06%2F26%2F161747
1. Opinion for the command syntax
The commands of the many REPL such as scala, groovysh or ghci start with
":".
So he felt the prefix of jshell's commands is confusing.
And he suggest the prefix of jshell's commands will be the same as other
REPL.
2. Opinion for the behavior of the temporary variable.
His opinion is "Currently the temporary variable can be re-assigned, but it
doesn't make sense. It should be final.":
-> 0
| Expression value is: 0
| assigned to temporary variable $1 of type int
-> $1 = 10
| Variable $1 has been assigned the value 10
What do you think?
Regards,
shinyafox(Shinya Yoshida)
More information about the kulla-dev
mailing list