Java programming with Greenfoot: keeping your code clean
In this video tutorial students are guided through using space and indentation to make their Java programming easier to read. How to add comments is also covered. This is useful as the program gets longer it gets harder to find specific parts within it – using comments allows parts to be found quicker. How to call specific methods and apply them to different objects is also explained. This is useful if the game requires another character that will, for example, move the same way as the turtle; the student does not have to recreate the method for movement but the new object can call this instruction and use it.
More resources can be found here