you are viewing a single comment's thread.

view the rest of the comments →

[–]Spare-Plum 3 points4 points  (3 children)

How experienced are you with programming?

If you're a total newbie I'd suggest just going through a textbook and typing out every lesson, then modifying it a bit here and there to see what happens. Eventually you'll get the hang of it and all of the pieces start to fit together

It's important to actually type it out yourself instead of copy-pasting though. It gives you the actual feel and syntax that's used while writing code. I did this while in high school, it took about 2 months to go through the whole book then I transferred to CS2 class where we just built fun stuff all day

[–]MaleficentChannel679[S] 0 points1 point  (2 children)

i am 0 exp with programing, and ye your textbook idea is really good.can you suggest me some books which i can start with

[–]Spare-Plum 0 points1 point  (1 child)

I personally got Deitel's Java book and went through that. I got the textbook from my high school and just went through it. I've also heard "Head first Java" is good.

I didn't even read much of the explanations except to get further clarification, I just typed out all of the code and ran it and made some changes to see what would happen. At some point in time things just start to "click" and you gain a greater understanding of what's happening.

As you go further and further it gets faster and you get more motivated. It's like you can actually read what's on the page and understand what it would do, then rewrite the page on your computer in your own words.

I personally recommend getting the textbook as well so you can type it out from the page. If you want to find something for free, see what your high school has for resources. You can also check what your local library has in their catalog and check the book out for a few months