Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Question on learning to program.

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Location
    Phoenix, AZ
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Question on learning to program.

    I have stated picking up on programming the last few weeks. I took a class to help me build the fundamentals. My teacher just gives us an assignment and then runs it works he gives a perfect grade. I wish that he would take the time to look at our code and tell us how we can more effectively do the task with less calculations. Should I be focusing on doing things more efficiently at this point? Or should I try to grasp the programming language and how it works and then re-adjust and worry about run time later on?

    I recently created a binary converter that did the calculations, set the digits in an array, and the output the array contents backwards. The program works, but is there a much better way to do this?

    Thanks!


  2. #2
    Member angstrem's Avatar
    Join Date
    Mar 2013
    Location
    Ukraine
    Posts
    200
    My Mood
    Happy
    Thanks
    9
    Thanked 31 Times in 29 Posts

    Default Re: Question on learning to program.

    My suggestion is that you should put major efforts on learning java core classes. Once you know them, you will be able to write programs even more efficiently. Of course, if you can see an obvious optimization or have some free time, try to optimize or think of optimization, but that should not harm learning the language basics.

Similar Threads

  1. need help for the few question for java program!!
    By vitorloke in forum Java Theory & Questions
    Replies: 10
    Last Post: April 20th, 2012, 12:17 PM
  2. Question About Program
    By metaleddie13 in forum Java Theory & Questions
    Replies: 3
    Last Post: October 14th, 2011, 07:19 PM
  3. Learning to program :)
    By gacostat in forum Member Introductions
    Replies: 1
    Last Post: August 21st, 2011, 11:11 PM
  4. Question About A Program
    By torres9 in forum Java Theory & Questions
    Replies: 3
    Last Post: May 15th, 2011, 09:56 PM
  5. [SOLVED] How to narrow down the range of input in java?
    By big_c in forum What's Wrong With My Code?
    Replies: 5
    Last Post: April 20th, 2009, 12:38 PM