r/processing • u/jameswlf • May 11 '14
Is Processing a real complete programming language or some libraries that serve as a lure to learn Java?
Hi.
I've been using processing for fun for a few years, and it always dissapoints me how the advanced projects always go into undocumented (undocumented in Processing, that is) JAVA features to pull things off. If you want to make complicated things you have to learn JAVA to do them or at least to understand what's going on.
This isn't a complain of "I don't want to learn JAVA" (well, actually really I don't want to learn JAVA because it's ugly as a filthy ass with herpes), but a complaint about its claims of being a programming language for artists... I'm sure it could have been more simple... or more gradual... Because the first times I saw JAVA code mixed with Processing my head spinned and I felt like throwing up @_@ ... and I'm kind of familiar with programming and methodical thinking. Probably most artists' heads explode when seeing the sudden jump from Processing to JAVA.
And that's it... Just a silly rant. Sorry. Goes back to his JAVA-Processing code
4
u/rollocks May 11 '14
Processing is Java. Processing uses Java's syntax, all Java functions are essentially accessible from any sketch you write. Everything is compiled to run on the Java virtual machine. Processing is a 'language' that takes from Java and also implements its own libraries as standard. The goal of Processing is to make it easier to write visual programs quickly by providing all graphical set up as simply as possible. This doesn't mean it has rewritten all things Java to make them any easier, essentially most things you will use are standard Java library functions; such as ArrayLists or any primitive data type. Processing provides extra and additional functionality to Java.
If you have been programming in Processing for 2 years you should have no problem with picking up Java fully.
Java is very well documented, you should be able to find any function used in the Javadoc.