Ok, thanks people. I think he was, as suggested, enquiring as to how I
was going to write, compile and debug my code. Currently, I am working
through a tutorial which has suggested that I use the JDK and JEdit as
the text editor. What are the advantages of using this as opposed to an
IDE? I guess you get a better knowledge of the actual code processes
but will it take much longer?
zero - 14 Dec 2005 12:29 GMT
> Ok, thanks people. I think he was, as suggested, enquiring as to how I
> was going to write, compile and debug my code. Currently, I am working
> through a tutorial which has suggested that I use the JDK and JEdit as
> the text editor. What are the advantages of using this as opposed to an
> IDE? I guess you get a better knowledge of the actual code processes
> but will it take much longer?
I believe learning java will go much faster without IDE. And, at the
beginning, even coding may be faster, because you just type what you see in
the textbook, and you won't be tempted to go through the long lists of
methods and properties to find what you want.
When you're more experienced, using an IDE can speed up your work tempo,
but not at the beginning.
Search this group for "IDE" "text editor" "beginner tools" and similar,
there are a lot of lengthy discussions about exactly this topic.

Signature
Beware the False Authority Syndrome
Timbo - 14 Dec 2005 12:43 GMT
> Ok, thanks people. I think he was, as suggested, enquiring as to how I
> was going to write, compile and debug my code. Currently, I am working
> through a tutorial which has suggested that I use the JDK and JEdit as
> the text editor. What are the advantages of using this as opposed to an
> IDE? I guess you get a better knowledge of the actual code processes
> but will it take much longer?
IDE's generally have a much steeper learning curve, whereas some
like jEdit is good for a beginner because it's just 'type and
compile' programming.
David Segall - 14 Dec 2005 14:20 GMT
"steve_marjoribanks@hotmail.com" <steve_marjoribanks@hotmail.com>
wrote:
>Ok, thanks people. I think he was, as suggested, enquiring as to how I
>was going to write, compile and debug my code. Currently, I am working
>through a tutorial which has suggested that I use the JDK and JEdit as
>the text editor. What are the advantages of using this as opposed to an
>IDE? I guess you get a better knowledge of the actual code processes
>but will it take much longer?
As a general rule programmers will advise you to suffer the same
primitive environment that they suffered ten years ago. It was
difficult so, like bad tasting medicine, it must have been good for
them.
A modern IDE will write large portions of the program for you but it's
main advantage for beginners is in debugging. First, it will compile
your program as you write it so you can correct a line of code before
you start the next one. It will show you the appropriate part of the
programming manual as you are entering your text so that you do not
have to search for the alternatives you don't (yet) know. It will let
you run a single method rather than the whole program so you can check
that it works before you incorporate it into your program. If
something goes wrong it will take you to the error line with a click
of the mouse. If there is an error in your logic you can step through
the program one line at a time and examine the variables as you go.
It is possibly instructive to write a trivial "Hello World" program
with a text editor and the command line compiler. After that, choose
an IDE. There is some extra work learning it but it is well worth it.
If you already know one IDE learning the next one is easy.
My thoughts on what I consider to be a complete list of "real" Java
IDEs is here <http://profectus.com.au/ee_JavaIDE.html>.
Francesco Devittori - 15 Dec 2005 07:13 GMT
> [...]
> It is possibly instructive to write a trivial "Hello World" program
[quoted text clipped - 4 lines]
> My thoughts on what I consider to be a complete list of "real" Java
> IDEs is here <http://profectus.com.au/ee_JavaIDE.html>.
I do all my development with emacs, a makefile (or ant) and bash. It's
super-fast, without distracting features. I can't imagine working
without grep & co.
However I admit that designing a GUI is easier with an IDE.
Francesco
David Segall - 15 Dec 2005 13:58 GMT
>> [...]
>> It is possibly instructive to write a trivial "Hello World" program
[quoted text clipped - 8 lines]
>super-fast, without distracting features. I can't imagine working
>without grep & co.
grep is included in all the IDE's. I admit that you would have to do
without doctor. :) If you already know the programs you list I can
believe that you are super-fast but for someone who does not, a Java
IDE has far fewer "distracting features" than Emacs, ant and bash and
most IDE's will look the same using any operating system.
>However I admit that designing a GUI is easier with an IDE.
Indeed. And NetBeans has made it even easier with Matisse
<http://www.netbeans.org/kb/articles/matisse.html>. I'm hoping that
GroupLayout will be the only layout manager I need to understand.