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: Thinking like a programmer

  1. #1
    Member
    Join Date
    May 2013
    Posts
    165
    Thanks
    58
    Thanked 1 Time in 1 Post

    Default Thinking like a programmer

    I've been learning Java for a couple of months now and the last couple of small projects I've done I tended to actually just google certain aspects of code and make slight adjustments. I know this is never going to help me as although I can do a certain project and understand it, it does not help me learn to become creative and think like a programmer. I've read some advice suggesting I learn about Data structures and algorithms, though I'm still unsure. I would greatly appreciate if anyone can advise me on my conundrum.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Thinking like a programmer

    When I program I spend a lot of time using Google and reading through documentation. The fact of the matter is it's impractical for modern programmers to write code from basic principles. We have to interface numerous libraries together in a fashion which fits our application. This saves us time (usually) as we don't have to write special-purpose code every time we want to do some common task X (or even some not-so-common task Y). Reading documentation and looking at examples is the best way to learn how to use these libraries as they can have wildly different design choices and resources.

    Learning about data structures and algorithms are also an extremely important part of programming. The difference between a good algorithm and a bad algorithm can be the difference between a task which can execute in milliseconds vs. one which won't finish before the sun expands and engulfs the earth (yes, there are algorithms which perform so poorly).

    At the very least, a good programmer understands when a particular data structure or algorithm fits well. That doesn't mean you must be able to implement the best possible hash table to be able to use hash tables effectively. Understanding hash tables are very good for checking if an element exists in a set and are very bad for sorting a list, and why this is the case is usually good enough for most programmers.

  3. The Following User Says Thank You to helloworld922 For This Useful Post:

    keepStriving (June 15th, 2013)

Similar Threads

  1. Replies: 7
    Last Post: August 17th, 2013, 07:55 PM
  2. A new old programmer
    By Zace66 in forum Member Introductions
    Replies: 1
    Last Post: April 30th, 2013, 05:25 PM
  3. hello everybody JAVA programmer
    By tawisak in forum Member Introductions
    Replies: 1
    Last Post: October 15th, 2012, 11:57 AM