Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13103 > unrolled thread

Absolute beginner question

Started byHelpful person <rrrlllfff@gmail.com>
First post2012-03-21 11:24 -0700
Last post2012-03-22 22:19 -0700
Articles 10 — 6 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Absolute beginner question Helpful person <rrrlllfff@gmail.com> - 2012-03-21 11:24 -0700
    Re: Absolute beginner question Patricia Shanahan <pats@acm.org> - 2012-03-21 11:36 -0700
      Re: Absolute beginner question Helpful person <rrrlllfff@gmail.com> - 2012-03-21 12:06 -0700
        Re: Absolute beginner question glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-03-21 19:35 +0000
        Re: Absolute beginner question Patricia Shanahan <pats@acm.org> - 2012-03-21 12:37 -0700
          Re: Absolute beginner question Patricia Shanahan <pats@acm.org> - 2012-03-21 12:39 -0700
        Re: Absolute beginner question markspace <-@.> - 2012-03-21 14:07 -0700
    Re: Absolute beginner question Helpful person <rrrlllfff@gmail.com> - 2012-03-21 17:52 -0700
    Re: Absolute beginner question Roedy Green <see_website@mindprod.com.invalid> - 2012-03-22 21:06 -0700
      Re: Absolute beginner question Gene Wirchenko <genew@ocis.net> - 2012-03-22 22:19 -0700

#13103 — Absolute beginner question

FromHelpful person <rrrlllfff@gmail.com>
Date2012-03-21 11:24 -0700
SubjectAbsolute beginner question
Message-ID<6b11bb0d-999b-4b1e-97a9-d6356428b44b@m10g2000pbk.googlegroups.com>
I have done a lot of programming in the past including a limited
amount of object oriented programming.  I have never used Java and
wish to learn this language/environment.  A search on line has taken
me to the NetBeans site.  There they suggest installing the "Java
Development Kit (JDK)" and the "NetBeans IDE".

I am quite capable of teaching myself from books and online
information.  However, is this the best way to start?

From the Netbeans site (http://netbeans.org/kb/articles/learn-
java.html):
To get started, download and install the Java Development Kit (JDK),
and the latest NetBeans IDE today! The Java Development Kit (JDK)
contains all the tools you need to compile code and run your newly
written applications. The NetBeans IDE (integrated development
environment) is an optional software utility that makes all these
tools more easily accessible.

Thanks,

Richard

[toc] | [next] | [standalone]


#13104

FromPatricia Shanahan <pats@acm.org>
Date2012-03-21 11:36 -0700
Message-ID<e_KdnbhWUL1QgvfSnZ2dnUVZ_qOdnZ2d@earthlink.com>
In reply to#13103
Helpful person wrote:
> I have done a lot of programming in the past including a limited
> amount of object oriented programming.  I have never used Java and
> wish to learn this language/environment.  A search on line has taken
> me to the NetBeans site.  There they suggest installing the "Java
> Development Kit (JDK)" and the "NetBeans IDE".
> 
> I am quite capable of teaching myself from books and online
> information.  However, is this the best way to start?
...

I suggest writing a few Java programs using whatever approach you are
most used to. If you have done a lot of command line and text editor
programming, I would start that way. If you are used to using an IDE,
then start by installing NetBeans or Eclipse.

Once you get to the point of having more than a couple of classes, you
should switch to an IDE, even if you are not used to one.

Patricia

[toc] | [prev] | [next] | [standalone]


#13105

FromHelpful person <rrrlllfff@gmail.com>
Date2012-03-21 12:06 -0700
Message-ID<9af41d99-01ae-4558-aa79-bb338d61b51a@pg2g2000pbb.googlegroups.com>
In reply to#13104
On Mar 21, 2:36 pm, Patricia Shanahan <p...@acm.org> wrote:
> Helpful person wrote:
> > I have done a lot of programming in the past including a limited
> > amount of object oriented programming.  I have never used Java and
> > wish to learn this language/environment.  A search on line has taken
> > me to the NetBeans site.  There they suggest installing the "Java
> > Development Kit (JDK)" and the "NetBeans IDE".
>
> > I am quite capable of teaching myself from books and online
> > information.  However, is this the best way to start?
>
> ...
>
> I suggest writing a few Java programs using whatever approach you are
> most used to. If you have done a lot of command line and text editor
> programming, I would start that way. If you are used to using an IDE,
> then start by installing NetBeans or Eclipse.
>
> Once you get to the point of having more than a couple of classes, you
> should switch to an IDE, even if you are not used to one.
>
> Patricia

Patricia, thanks for the reply.  Maybe I should give more
information.  I have previously written complex programs using
Fortran, an antiquated language and of little use today.  I have also
used Visual Basic, an excellent alternative (for the non C programmer)
and close to object orientated.  I have experience creating objects,
classes, collections etc. with an amateur's attempt at programming
"correctly".

I'm not sure what using an IDE entails.  Are you suggesting that I
should not yet move to this stage?  I'm certainly happy to start right
at the beginning if this helps me to understand better, even though it
can be frustrating.

Thanks,

Richard

[toc] | [prev] | [next] | [standalone]


#13106

Fromglen herrmannsfeldt <gah@ugcs.caltech.edu>
Date2012-03-21 19:35 +0000
Message-ID<jkdah5$oc6$1@speranza.aioe.org>
In reply to#13105
Helpful person <rrrlllfff@gmail.com> wrote:

(snip)
> Patricia, thanks for the reply.  Maybe I should give more
> information.  I have previously written complex programs using
> Fortran, an antiquated language and of little use today.  

Fortran has been updated in 1977, 1990, 1995, 2003, and 2008, 
including adding OO features. The compilers are coming along
a little slower, though, and I won't discourage you from
learning Java. 

> I have also used Visual Basic, an excellent alternative 
> (for the non C programmer) and close to object orientated.  
> I have experience creating objects, classes, collections etc. 
> with an amateur's attempt at programming "correctly".

> I'm not sure what using an IDE entails.  Are you suggesting that I
> should not yet move to this stage?  I'm certainly happy to start right
> at the beginning if this helps me to understand better, even though it
> can be frustrating.

Java works just fine from the command line, editing with your
favorite editor, compiling with javac and all. You can use make,
as many unix developers do, or not. 

If you are used to VB, though, you probably do what with an IDE.
(I forget if you can do it command line or not.)

-- glen

[toc] | [prev] | [next] | [standalone]


#13108

FromPatricia Shanahan <pats@acm.org>
Date2012-03-21 12:37 -0700
Message-ID<y9adnR1mUI5osPfSnZ2dnUVZ_tCdnZ2d@earthlink.com>
In reply to#13105
Helpful person wrote:
> On Mar 21, 2:36 pm, Patricia Shanahan <p...@acm.org> wrote:
>> Helpful person wrote:
>>> I have done a lot of programming in the past including a limited
>>> amount of object oriented programming.  I have never used Java and
>>> wish to learn this language/environment.  A search on line has taken
>>> me to the NetBeans site.  There they suggest installing the "Java
>>> Development Kit (JDK)" and the "NetBeans IDE".
>>> I am quite capable of teaching myself from books and online
>>> information.  However, is this the best way to start?
>> ...
>>
>> I suggest writing a few Java programs using whatever approach you are
>> most used to. If you have done a lot of command line and text editor
>> programming, I would start that way. If you are used to using an IDE,
>> then start by installing NetBeans or Eclipse.
>>
>> Once you get to the point of having more than a couple of classes, you
>> should switch to an IDE, even if you are not used to one.
>>
>> Patricia
> 
> Patricia, thanks for the reply.  Maybe I should give more
> information.  I have previously written complex programs using
> Fortran, an antiquated language and of little use today.  I have also
> used Visual Basic, an excellent alternative (for the non C programmer)
> and close to object orientated.  I have experience creating objects,
> classes, collections etc. with an amateur's attempt at programming
> "correctly".

Have you used Visual Studio? If so, I recommend going straight to an IDE.

> 
> I'm not sure what using an IDE entails.  Are you suggesting that I
> should not yet move to this stage?  I'm certainly happy to start right
> at the beginning if this helps me to understand better, even though it
> can be frustrating.

Use of an IDE is generally orthogonal to Java understanding. It is a
trade-off between an initial learning curve, and tools that make
managing complex project easier. An IDE will save you time by doing
things like displaying the documentation for a method whenever you hover
on a call to it.

Patricia

[toc] | [prev] | [next] | [standalone]


#13109

FromPatricia Shanahan <pats@acm.org>
Date2012-03-21 12:39 -0700
Message-ID<y9adnRxmUI7_s_fSnZ2dnUVZ_tCdnZ2d@earthlink.com>
In reply to#13108
Patricia Shanahan wrote:
> Helpful person wrote:
>> On Mar 21, 2:36 pm, Patricia Shanahan <p...@acm.org> wrote:
>>> Helpful person wrote:
>>>> I have done a lot of programming in the past including a limited
>>>> amount of object oriented programming.  I have never used Java and
>>>> wish to learn this language/environment.  A search on line has taken
>>>> me to the NetBeans site.  There they suggest installing the "Java
>>>> Development Kit (JDK)" and the "NetBeans IDE".
>>>> I am quite capable of teaching myself from books and online
>>>> information.  However, is this the best way to start?
>>> ...
>>>
>>> I suggest writing a few Java programs using whatever approach you are
>>> most used to. If you have done a lot of command line and text editor
>>> programming, I would start that way. If you are used to using an IDE,
>>> then start by installing NetBeans or Eclipse.
>>>
>>> Once you get to the point of having more than a couple of classes, you
>>> should switch to an IDE, even if you are not used to one.
>>>
>>> Patricia
>>
>> Patricia, thanks for the reply.  Maybe I should give more
>> information.  I have previously written complex programs using
>> Fortran, an antiquated language and of little use today.  I have also
>> used Visual Basic, an excellent alternative (for the non C programmer)
>> and close to object orientated.  I have experience creating objects,
>> classes, collections etc. with an amateur's attempt at programming
>> "correctly".
> 
> Have you used Visual Studio? If so, I recommend going straight to an IDE.
> 
>>
>> I'm not sure what using an IDE entails.  Are you suggesting that I
>> should not yet move to this stage?  I'm certainly happy to start right
>> at the beginning if this helps me to understand better, even though it
>> can be frustrating.
> 
> Use of an IDE is generally orthogonal to Java understanding. It is a
> trade-off between an initial learning curve, and tools that make
> managing complex project easier. An IDE will save you time by doing
> things like displaying the documentation for a method whenever you hover
> on a call to it.

Incidentally, if you have been doing a lot of Visual Basic programming,
watch out for case-sensitivity in Java. It matters.

Patricia

[toc] | [prev] | [next] | [standalone]


#13111

Frommarkspace <-@.>
Date2012-03-21 14:07 -0700
Message-ID<jkdfui$4cl$1@dont-email.me>
In reply to#13105
On 3/21/2012 12:06 PM, Helpful person wrote:

> I'm not sure what using an IDE entails.  Are you suggesting that I
> should not yet move to this stage?  I'm certainly happy to start right
> at the beginning if this helps me to understand better, even though it
> can be frustrating.


I think the "Intermediate Tutorial" on that link refers you to the 
Oracle Java tutorial, which in turn has you create a simple program from 
the command line.

That's fine to do.  You should learn the difference between javac and 
java (the programs) and understand a bit about what they do.  Eventually 
you should endeavor to learn the command line tools well.  They're 
important in many real projects.

However, as a student, as soon as you complete that first little 
example, you can go straight to NetBeans (or other IDE) and not look 
back for a while.  Modern IDEs are super important now-a-days for 
productivity.  You just can't match them with vi and a few self-made 
scripts like the old days.  There's too much work done for you by the 
IDE creators and the IDE itself.  It's a must-have tool, and one that 
you will use for the bulk of your professional development.

[toc] | [prev] | [next] | [standalone]


#13114

FromHelpful person <rrrlllfff@gmail.com>
Date2012-03-21 17:52 -0700
Message-ID<15fdb983-7bc0-479b-8a1c-1508947c9c79@n9g2000pbb.googlegroups.com>
In reply to#13103
Thanks for all the helpful comments.  It seems my best strategy will
be to start with command line programming, follow the tutorial
examples and then switch to an IDE interface.

In general I prefer command line programming as it teaches basics
better.  (It's how I learned and still program HTML/CSS).  However,
Java is much more complex and I expect I will almost certainly need
help from the IDE.

Thanks,

Richard

[toc] | [prev] | [next] | [standalone]


#13128

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-03-22 21:06 -0700
Message-ID<mgtnm79s4702o6hdf8scges86u4ds3emic@4ax.com>
In reply to#13103
On Wed, 21 Mar 2012 11:24:51 -0700 (PDT), Helpful person
<rrrlllfff@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>I have done a lot of programming in the past including a limited
>amount of object oriented programming.  I have never used Java and
>wish to learn this language/environment. 

see http://mindprod.com/jgloss/gettingstarted.html

An IDE is like at automatic vs stick shift.

I had to go without my IDE for a few days. I could hardly believe that
I once coded without one.  It lets you rapidly navigate around a
project finding uses of variables or methods and finding the
definition.  It lets you globally rename anything safely even when
than name appears is several contexts.  That is most of the benefit.
For some of the other goodies see
http://mindprod.com/jgloss/intellij.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
When you were a child, if you did your own experiment
to see if it was better to put to cocoa into your cup first
or the hot milk first, then you likely have the programmer gene..

[toc] | [prev] | [next] | [standalone]


#13130

FromGene Wirchenko <genew@ocis.net>
Date2012-03-22 22:19 -0700
Message-ID<bs1om79d319pfbbhp6fn402j1p0vv2ka0s@4ax.com>
In reply to#13128
On Thu, 22 Mar 2012 21:06:16 -0700, Roedy Green
<see_website@mindprod.com.invalid> wrote:

[snip]

>Roedy Green Canadian Mind Products
>http://mindprod.com
>When you were a child, if you did your own experiment
>to see if it was better to put to cocoa into your cup first
>or the hot milk first, then you likely have the programmer gene..
                                             ^^^^^^^^^^^^^^^^^^^
     I *am* the programmer Gene.

     Yes, I did that sort of research, too.

Sincerely,

Gene Wirchenko

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web