• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is java a constant struggle?  RSS feed

 
Cameron Finch
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently studying java in college. It was easy at first but now they are starting to give us assignments that I have no idea how to do. Is this normal? Is java all about hunting for the syntax for the code you need to write? Or will I in a few years be so experienced that I know the syntax well and this wont be a problem.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The latter -- and this is true of all programming, not just Java.
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any new language (computer or spoken/written) has a learning curve to it. But if you stick with it and put the effort in up front the curve levels off. After a short while (well under a year) you should have a handle on the syntax and begin to work on design and structure. Then it is libraries and APIs. So there is always something to learn, but it does get easier.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the exact problem you're struggling with? You mention assignments that you don't know how to do - that wouldn't be Java's fault, as your teacher should not assign something that you can't solve by spending a reasonable amount of time learning new stuff. But then you mention problems with syntax twice, which I think is something that any Java course should teach pretty early on. Can you clarify what, exactly, is giving you problems?
 
Cameron Finch
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:What is the exact problem you're struggling with? You mention assignments that you don't know how to do - that wouldn't be Java's fault, as your teacher should not assign something that you can't solve by spending a reasonable amount of time learning new stuff. But then you mention problems with syntax twice, which I think is something that any Java course should teach pretty early on. Can you clarify what, exactly, is giving you problems?


The program's we are being asked to write. I don't know how to do them. We havent been shown.
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most people here seem to have more difficulty understanding object‑oriented programming than the syntax. The syntax is actually quite simple and can be printed on about 4 pages.

The first stage of programming is to work out what you intend to do. Write it down in words of one syllable, then you have a good chance of turning it into code.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron Finch wrote:The program's we are being asked to write. I don't know how to do them. We havent been shown.

That being the case, go to your teacher or TA for help or advice, since clearly they think you should be able to do it. There may be something you're missing.
 
Cameron Finch
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a book that we are supposed to read a chapter a week in. But we were told it was optional. I was doing fine up until recently. But now I am gong to start reading it as I am falling behind a bit.
 
Stuie Clarky
Ranch Hand
Posts: 98
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In college, when ever you are told something is optional it is usually worth doing anyway. With programming, the more you do it the easier it gets (as has been suggested above). So just code, read code, look at code and it will start to sink in. It does take effort and you will need to put in the hours, if you are new to programming then assignments and exercises are not going to be something you can cram in the night before it is due. The more hours practice you can get it now, the easier life will be for you in the later years of your studies.

S
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!