dodona-edu / judge-java

JUnit-based Java judge for the Dodona learning environment
MIT License
1 stars 1 forks source link

Clarify package-statement error #26

Closed thepieterdc closed 5 years ago

thepieterdc commented 5 years ago

A student remarked that he did not know what was meant by the "default" package. Students might think that the error is caused because of a missing package default; line, or something like that.

I propose to change this to something that encourages the student to actually remove the package statement. Maybe we can also change this to an error-callout to make it more prevalent.

image

@bmesuere any comments on this?

ninewise commented 5 years ago

If students are told to use packages, they should also be told about the default package, IMHO. We could append something like "Je klasse komt in het default package als je bestand niet begint met een package-statement," but the term should be mentioned.