Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : PShape not drawing

$
0
0

I see you come from a Java world.
You don't need all the "this.", "private", or "System.out." stuff, Processing simplified this...
I'm the opposite; never made a Java program yet!  :P
However, is it true I'd have to use this all the time when programming in Java?
I thought this would only be necessary to differentiate a local variable from a field variable.
Or even a child's method from its parent's method (super).
And also when needed to pass a class instance's reference to an external method or constructor.  
Since a sketch class extends Processing's PApplet, and our own classes are inner ones,
we can use all of Processing's API functions w/o any extra verbose!

Viewing all articles
Browse latest Browse all 1768

Trending Articles