Starting Java programming
I'm a 13 year old boy looking for some tips on Java programming. Any tips? I just started and I soon dream of becoming a game programmer.
October 21, 2011
Starting Java programming
I'm a 13 year old boy looking for some tips on Java programming. Any tips? I just started and I soon dream of becoming a game programmer.
16 Comments • Newest first
@shairn: The loop was for the benefit of the TS, although congrats for knowing what a loop is, lol.
The logic bit was simply because that's how I taught myself and found it the easiest method for grasping complicated "tricks" and their uses later on.
@Telatsu: Understanding the language takes little time. But learning all the tricks of actually getting a program working is another set of stairs.
Also yes I program in C and Java I know what a for loop is.
Loops are actually pretty basic in programming, since you can't really do any interesting programs without them.
Well, depending on the language.
@ShiverStar: I know the basic idea of what public static void main(String args[]) is and i can do System.out.print("Hello World" erm and the rest i can translate if i saw it, but I've made a basic calculator and stuff. It just isn't memorized. (I do have java projects of my calculator and stuff I think...)
EDIT: I also know how to assign integers using int and i know the println.
@12joeyroo that makes everything feel easier I basically read codes and translate to English if i see any XD
@ShiverStar: The layout of it and the fact that I learned nothing from the first few lessons...hmm any other sources?
@ShiverStar that website's...umm... just no... ):
I'm starting here: http://www.cokeandcode.com/info/tut2d.html
I also learned a bit from thenewboston, but it seems I can NEVER remember what if, while, for loop, while true do mean ><
I can easily remember int, function and loop.
Use DrJava, ludicrously simple to use... That or, use vi/emacs. Eclipse IS good because all methods/primitives come up for you as you type...
As for Textbook, try this, it's really easy to understand, lol... http://www.m3d14fire.com/?shl41jbh6d16xll (Seriously, why is this censcored?) I uploaded for my AP CS class, enjoy!
@ShiverStar I use Eclipse IDE for Java programmers and I chose java because I made a thread a while ago with asking for what to start with and in majority it was Java. Plus Java is common and I think that maybe...JUST MAYBE I'll make some minecraft mods for some friends
I started learning java in high school with KareltheRobot.jar.
turnLeft () ; all day, erryday.
Start now and don't quit . Regardless of how boring or repetitive or frustrating a problem may be, just don't quit. Ask people for help! Become a part of a community outside of Basil where programmers actually practice their art.
Don't ask me about programming. I know nothing of it . I just know what it takes to be good at something.
[quote=shairn]Which may or may not taking several dozen years.
I suggest following a tutorial and starting with the basics. There's no use rushing ahead because you won't understand half the stuff you're doing.[/quote]
I'm not sure about several dozen years...
What I meant about logic, is that Programming should be seen as a foreign language. You must look at each programming language as having it's own unique set of guidelines, much like Spanish or German. If you're able to vocalize in a proper format what you want to do, following it as such you must learn the correct terms to invoke the actions you want. Which... should not take you several dozen years...nor even a dozen.
[edit] Take a "For" loop, something you won't be seeing immediately starting programming.
A basic one looks like this.
for(count = 1; count <= 10; count++)
{ statement;
}
This can be seen as: For count, which will start at 1, if it is less than or equal to 10 continue looping and output this statement, each loop will add a count of 1(Signified by count++). Once 10 has been reached, the loop will end.
So before doing a game tutorial learn the basics? Even the useless stuff i wont need in my games?
[quote=Telatsu]learn logic. once youve mastered logic. youve mastered programming.[/quote]
Which may or may not taking several dozen years.
I suggest following a tutorial and starting with the basics. There's no use rushing ahead because you won't understand half the stuff you're doing.
learn logic. once youve mastered logic. youve mastered programming.
Write basic programs, learn about classes, looping, etc... all the basics of any programming language.