Quote:
Originally Posted by profamous
Can anyone show me where to start programming in Java? Either in general or FRC based. This is my first language ever so I have no clue what an IDE is or anything like that.
|
I can't link you to any specific websites/tutorials. I would go to your library and find an intro to Java book. Then, to just get used to the language, I would do simple tasks:
-Write your "hello, world" code : This teaches you the very basic structure of how to code in that language.
-Create something that takes user input and manipulates (in a simple manner) it and gives output (ie does addition with two numbers, or capitalizes words) : This will teach you basic variable manipulation*.
-Go to
Project Euler and try to solve the problems.
-Create a simple program that does something that you think is cool. My friends and I, to learn languages at school, wrote chose-your-own text adventures. I wrote a game of checkers and a program that solved the
"chickens and cows" math problem with any number of heads/legs(I couldn't find a non Q&A example of that problem). These are good because you do something you find interesting while finding ways to use certain programming tools/techniques.
These are basic steps to getting you familiar with how to write code in java without having access to a robot/any other machines. If you can, find a bored Computer Science or Computer Engineering college kid and have them teach you (other majors may know Java as well, but I wouldn't know which) (or a bored Computer Scientist or Computer Engineer)(or anyone who is bored and knows Java).
If you need more help, you can private message (PM) me (and probably anyone else who responded in this thread).
*A lot of programming is taking numbers/data and assigning them to variables (like how in math you have the unknown number that we are calling "x". In programming you can call this number "NumberOfBananas" or "NumberOfMonkeys" and pick what you want that number to be, and change what you want that number to be, and then use that number) and then manipulating your variables (maybe you'll divide NumberOfBananas by NumberOfMonkeys so that you can tell the user how many bananas each monkey gets).