Results 1 to 5 of 5
  1. #1
    Callofdudey is offline Member
    Join Date
    Sep 2011
    Posts
    10
    Rep Power
    0

    Default Something may be too early to worry

    The thing that I'm worrying is, how do you memorize all those mountains of method, packages etc? For example if I want to code a simple calculator, then I might wanna use java.math.*, but what if it's something else, say write a player for android, where to look them up and where to look into?

    Another question, what would be the good practice, habit etc. that can help you with memorizing them?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Something may be too early to worry

    Writes lots and lots of code, go to the API frequently. The more you do this, the more the core concepts will be burned into your soul.

  3. #3
    Solarsonic is offline Senior Member
    Join Date
    Mar 2011
    Posts
    261
    Rep Power
    4

    Default Re: Something may be too early to worry

    No one knows every method and package by heart, only commonly used ones.

    Good coders know how to use the Java API (Java Platform SE 6) in order to accomplish their goal.

  4. #4
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default Re: Something may be too early to worry

    Exactly as fubar said, repetition will make it seem natural. Just like a spoken language, at first it may seem like a lot to memorize, but over time the words will just be stored automagically.

    The API is like the dictionary of Java, have it handy and you will eventually begin to remember which methods are in which packages. Also using a dumber text editor will help with this(i.e. notepad++). Eclipse and netbeans will hinder you since it helps you out so much with intellisense(or whatever it's called).

    Just in case, here is the API: Java Platform SE 6
    or if you are using Java 7: Java Platform SE 7

    Also, if you are unsure of a method, or package or class, googling "java 6 term" usually helps

    examples: java 6 String, java 6 paintComponent, etc.

  5. #5
    Solarsonic is offline Senior Member
    Join Date
    Mar 2011
    Posts
    261
    Rep Power
    4

    Default Re: Something may be too early to worry

    Quote Originally Posted by sunde887 View Post
    Exactly as fubar said, repetition will make it seem natural. Just like a spoken language, at first it may seem like a lot to memorize, but over time the words will just be stored automagically.

    The API is like the dictionary of Java, have it handy and you will eventually begin to remember which methods are in which packages. Also using a dumber text editor will help with this(i.e. notepad++). Eclipse and netbeans will hinder you since it helps you out so much with intellisense(or whatever it's called).

    Just in case, here is the API: Java Platform SE 6
    or if you are using Java 7: Java Platform SE 7

    Also, if you are unsure of a method, or package or class, googling "java 6 term" usually helps

    examples: java 6 String, java 6 paintComponent, etc.
    I believe Intellisense is trademark for .NET's Visual Studio :p

Similar Threads

  1. Replies: 0
    Last Post: 04-23-2010, 07:10 PM
  2. Question about early binding
    By Jary316 in forum New To Java
    Replies: 5
    Last Post: 12-17-2008, 06:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •