Advice for programming

4 points by logic101 ↗ HN
hi am a first year computer science student .I started programing in java last september.I Failed my programming exam in java this may and have to resit it in august.ANY ADVICE PLEASE..Is there any material that i can use or any one to mentor me.I would appreciate any comment.

5 comments

[ 3.8 ms ] story [ 19.4 ms ] thread
Why did you fail?
@yuri i made mistakes in the way i approached the questions.I think i lacked experience.
1. Find/think of a project

2. Hack it together

3. Go to #1

The only way to improve your skills at something is to practice doing it. When you hit something you don't know how to do, look it up on Google or ask a question on StackOverflow (make sure to search first though). Eventually, after many, many failures, you will succeed.

Make sure that the projects are relatively simple. Think calculators, drawing smiley faces, etc. Increase the challenge of each project, but DO NOT try to build the next Google (at least for a year or two).