Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review import statements for student code #6

Open
hollasch opened this issue Jul 11, 2016 · 0 comments
Open

Review import statements for student code #6

hollasch opened this issue Jul 11, 2016 · 0 comments

Comments

@hollasch
Copy link
Member

[Imported from original tealsMC repo]


Steve [hollasch]:
For each new file that students will write, enumerate the import statements they'll be using. This way we don't have to reference types like net.minecraft.world.World, and can just say World.


Connor [chollasch]:
It is quite possible that the majority of their imports will be via the net.minecraft package so we could even wildcard import all of the net.minecraft classes with the following:

import net.minecraft.*;

Michael [hawkerm]:
It won't grab subpackages that way though so in the example above they'd still need to import net.minecraft.world.* still too. We run into this with Space Battle too, but only have three packages they need at most throughout the project.


Steve [hollasch]:
Three packages should cover us as well, then.

@hollasch hollasch self-assigned this Oct 19, 2016
@hollasch hollasch removed their assignment Oct 14, 2017
@hollasch hollasch added the APCSA label Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant