Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures

Home

Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips

Books

Submit News
Search the site here...
Search...
 
Search the JavaFAQ.nu
1000 Java Tips ebook

1000 Java Tips - Click here for the high resolution copy!1000 Java Tips - Click here for the high resolution copy!

Java Screensaver, take it here

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java programming articles and tips. Please take your copy here.

Take your copy of free "Java Technology Screensaver"!.

Development Techniques

JavaFAQ Home » Java Notes by Fred Swartz Go to all tips in Java Notes by Fred Swartz


Bookmark and Share Beginning programming textbooks usually concentrate on two topics: the programming language and the general ideas the programming language constructs implement. This is good, but there are basic program development techniques that are often not taught, but which make program development much easier, and which are used by professional programmers for maximum effectiveness.

Basic techniques

Every programmer, beginner or more advanced, should use these techniques where possible.
  • Tools - Choose good tools and learn them well.
  • Indentation - Be scrupulous about indentation. See Java Coding Standards.
  • Start - Start with a working program.
  • Small increments - Work in small increments.
  • Pair programming - Work with someone else.

Intermediate techniques

All of the above plus
  • Save your programs -- you may be able to use them as the nucleus for another program.
  • Create you own library. When you write a good general class or method, add it to this library.
  • Refactor (rewrite) parts of a program if you realize there is a better way. A better written program will be less likely to have bugs and will be easier to extend for the next iteration.
  • Use an IDE (Integrated Development Environment), eg, NetBeans, Eclipse, or JBuilder (A Java IDE requires learning, and therefore may not be a good choice for beginning programmers. However, after you are comfortable developing simple Java programs with a text editor and the JDK, the advantages of an IDE for creating user interfaces and debugging can be significant. As with all tools, learn to use it well. Check the menus for options that might be useful.

 Printer Friendly Page  Printer Friendly Page
 Send to a Friend  Send to a Friend

.. Bookmark and Share

Search here again if you need more info!
Custom Search



Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy