I found this code example:
I get it. I understand what's happening there. I have no idea, however, how I go about using it in a project. I feel like a moron for not being able to figure out what ought to be the simplest part of this process. I've worked through tutorials, I have other applications running, but I just cannot suss out where to put this or how to access it. Perhaps it's just one of those days and tomorrow it'll be crystal clear, but right now I'm deeply frustrated and could really use just a little help on this.
* If I were to use it I would probably make it not extend Thread, but that is for another discussion...
I'll give that a shot and see if I can't get it working.
The main thing you need to know is that they are completely unrelated
I'm afraid that won't help. If you were reasonably comfortable with Java, you'd be better off, but there would still be quite a bit to learn.
Sam Kostler wrote:Would you mind explaining, or pointing me to an explanation of what a class is and how it differs from a function?
This is probably a good place to start.
I think I expected a lot more of what I knew to translate between languages and I didn't spend enough time on the basics.
Any recommendations for tutorial series' which spend a lot of time on the structure of the language as opposed to logic, variables, and conditional statements?