I'm considering using Processing as a way of teaching Java to a beginner. It seems like a nice way to introduce the basic concepts of programming without resorting to console output, which, let's face it, some people are going to find rather dull.
The thing is, I'm not all that familiar with Java - although I have plenty of experience with C#, which I understand is very similar. I'm confident I can pick up the idiosyncrasies of Java for myself quite quickly, and then focus on teaching the basic concepts (variables, if else, loops) through Processing. Later on we will move onto a conventional Java environment, and programming without visual output.
My question is, how much does the Processing Java 'dialect' deviate from how a more conventional Java programmer might write their code?
My assumption is that the syntax is going to be identical. But I assume the differences will be:
Processing uses graphics specific libraries that won't be present in a typical Java environment
Processing won't require 'includes' at the top of the file (although you may want to use these
Processing will use some standard methods like setup() and draw() that you won't usually see in Java.
Am I right? Or are there more fundamental differences?
My only concern is I don't want to teach my beginner something that is going to be alien to them when they need to program conventional Java later on.