[BLUEJ-406] Code Pad should display String and char values consistently
If I enter a char value at the Code Pad prompt, like this:
'a'
it responds with the value and its type, like this:
a (char)
If I enter a String value at the Code Pad prompt, like this:
"asterix"
It responds with a funny double-quoted thing and the type, like this:
"asterix" (String)
I wish it responded with the value, like this:
asterix (String)
just as it does with the char value.
I know that char is a primitive and String isn't, but I've struggled for years with students who are convinced that the double quotes are actually part of the string's value and the way most interpreters (and Code Pad) display strings doesn't help.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.9