We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › Why is some code not in the documentation
Page Index Toggle Pages: 1
Why is some code not in the documentation? (Read 2191 times)
Why is some code not in the documentation?
Aug 19th, 2009, 3:48pm
 
When I highlight stuff like "catch" and "try" and press the right mouse button, "Find in Reference" is blanked out. Are catch and try different from other commands? Where could I find documentation on them?
Re: Why is some code not in the documentation?
Reply #1 - Aug 19th, 2009, 5:08pm
 
catch and try was exactl what i was looking for in the reference 2 days ago. couldnt find it either and was asking myself why it is so.
Re: Why is some code not in the documentation?
Reply #2 - Aug 20th, 2009, 4:50am
 
Good question. Basically, they are standard Java keywords, and Processing reference doesn't cover them all, particularly if they are seen as "advanced": you won't find abstract nor interface, for example.
Since Processing hides (handles) most exceptions (eg. in loadXxx), maybe they felt it is "advanced usage" and these words are familiar to Java programmers (the advanced users...).
Re: Why is some code not in the documentation?
Reply #3 - Aug 20th, 2009, 6:22am
 
Quote:
you won't find abstract nor interface, for example


But the funny thing is, implements is in the reference   Grin
Re: Why is some code not in the documentation?
Reply #4 - Aug 20th, 2009, 8:59am
 
Well, you might want/need to use interfaces, but not to create them... Tongue
Re: Why is some code not in the documentation?
Reply #5 - Oct 18th, 2009, 9:03am
 
Yes, we don't want to recreate the Java reference here. Sometimes it's difficult to make the decision about what to include and what to leave out. Our basic metric is to include the reference components that appear in the examples, reference, and books and to leave the others out. It's subjective and we use this forum for feedback. These words are color coded in the editor because they are a part of Java.
Page Index Toggle Pages: 1