Author |
Message |
Raknarg
![](http://compsci.ca/v3/uploads/user_avatars/3745510004d8be6689b92f.jpg)
|
Posted: Thu Dec 20, 2012 1:48 pm Post subject: New starting language |
|
|
My friend recently discovered something pretty cool the other day over here: http://processing.org/
As far as I can tell, it's like a simplified version of Java, and works a lot like Turing. I don't know what other people think, but it seems like it would make a nice transition between turing to other languages (cause a lot of them are structured similarly, right..? I'll look that up), or even just makes testing code without having to work around the annoyingness of things like Java a lot easier. Thought you guys might appreciate it.
Also there's no community yet, so when I get stuck with things like syntax I can't quite just ask for help now -.-' |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
mirhagk
|
Posted: Thu Dec 20, 2012 3:51 pm Post subject: RE:New starting language |
|
|
Phew processing is so old that my university has a course that teaches it (well teaches 1 or 2 lectures on it) |
|
|
|
|
![](images/spacer.gif) |
TerranceN
|
|
|
|
![](images/spacer.gif) |
Raknarg
![](http://compsci.ca/v3/uploads/user_avatars/3745510004d8be6689b92f.jpg)
|
Posted: Thu Dec 20, 2012 8:16 pm Post subject: RE:New starting language |
|
|
Haha well that's embarassing XD thanks guys |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Thu Dec 20, 2012 8:56 pm Post subject: RE:New starting language |
|
|
Neah. It's a good find and good to share. This will certainly be new to some people around here. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Raknarg
![](http://compsci.ca/v3/uploads/user_avatars/3745510004d8be6689b92f.jpg)
|
Posted: Fri Dec 21, 2012 1:10 pm Post subject: RE:New starting language |
|
|
Would anyone happen to know how to pass a variable into a parameter by reference rather than value in a function? |
|
|
|
|
![](images/spacer.gif) |
Zren
![](http://compsci.ca/v3/uploads/user_avatars/1110053965512db6185954b.png)
|
Posted: Fri Dec 21, 2012 4:57 pm Post subject: Re: RE:New starting language |
|
|
Raknarg @ Fri Dec 21, 2012 2:10 pm wrote: Would anyone happen to know how to pass a variable into a parameter by reference rather than value in a function?
If you're talking about the Java based version, then you can't do so without encapsulating the variable.
Primitives (int, boolean, etc) are passed by value.
Primitive wrappers (Integer, Boolean) are immutable. Which would make a whole new object when you try to assign to it (which when used as a parameter would only last until the end of the function's scope).
This post highlights some of the wrapper objects you could use: http://stackoverflow.com/questions/4319537/how-do-i-pass-a-primitive-data-type-by-reference/4319581#4319581 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Fri Dec 21, 2012 5:14 pm Post subject: RE:New starting language |
|
|
Java is always pass-by-value.
And I would guess that Processing is as well. Pointers are a difficult concept to really understand, and in many ways Processing was designed to be accessible to non-CS majors. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Raknarg
![](http://compsci.ca/v3/uploads/user_avatars/3745510004d8be6689b92f.jpg)
|
Posted: Sat Dec 22, 2012 12:21 pm Post subject: RE:New starting language |
|
|
Alright thanks, I guess I'll just find a way tO work around that |
|
|
|
|
![](images/spacer.gif) |
|