Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > c/c++ required?

Reply
Thread Tools

c/c++ required?

 
 
jesse
Guest
Posts: n/a
 
      01-04-2004
i'm interested in learning java because i want to move on from perl and php
and general web applications like that. i read somewhere that, to learn
java, knowing C and C++ is required.

any feedback on that?

- jesse


 
Reply With Quote
 
 
 
 
Lee Yeow Leong
Guest
Posts: n/a
 
      01-04-2004
jesse wrote:
> i'm interested in learning java because i want to move on from perl and php
> and general web applications like that. i read somewhere that, to learn
> java, knowing C and C++ is required.
>
> any feedback on that?
>
> - jesse
>
>


http://java.sun.com/docs/books/tutorial/index.html

 
Reply With Quote
 
 
 
 
ak
Guest
Posts: n/a
 
      01-04-2004
> i'm interested in learning java because i want to move on from perl and
php
> and general web applications like that. i read somewhere that, to learn
> java, knowing C and C++ is required.


it is really better if you _don't_ know c and c++ before you start with
java.

____________

http://reader.imagero.com the best java image reader.


 
Reply With Quote
 
Sudsy
Guest
Posts: n/a
 
      01-04-2004
jesse wrote:
> i'm interested in learning java because i want to move on from perl and php
> and general web applications like that. i read somewhere that, to learn
> java, knowing C and C++ is required.
>
> any feedback on that?
>
> - jesse



I wouldn't go so far as to say REQUIRED. It can certainly help if you
know C syntax as Java is almost indistinguishable from that (within
methods, of course). And if you've got a sound basis in Object-Oriented
programming from C++ then you're more than halfway there. That's a big
IF, BTW. Estimates from companies like Forrester Research suggest that
upwards of 70% of "C++ code" is actually procedural C.
You could also just leap into learning Java and not have to worry
about baggage from previous use of C/C++. Fewer bad habits to unlearn.
Enjoy!

 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-04-2004
"jesse" <> wrote in message
news:ayQJb.48079$. com...
| i'm interested in learning java because i want to move on from
perl and php
| and general web applications like that. i read somewhere that,
to learn
| java, knowing C and C++ is required.

No. To program C++ effectively you need to
understand OO - same with Java.

C ..C(?!) is not an OO language. I guess it
would not be very helpful in learning Java.

With either you would have to 'unlearn' bits
of the C/C++ when coming to Java, so I
see no advantage to learning them if you
ultimately only want to code Java.

OTOH, it can be very helpful to have several
languages under your belt. It helps avoid the
'this is the only language for the job' syndrome..

[ Just a few ..meandering thoughts.. ]

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site


 
Reply With Quote
 
J
Guest
Posts: n/a
 
      01-05-2004
On Sun, 4 Jan 2004 3:55:34 -0500, jesse wrote
(in message <ayQJb.48079$> ):

> i'm interested in learning java because i want to move on from perl and php
> and general web applications like that. i read somewhere that, to learn
> java, knowing C and C++ is required.
>
> any feedback on that?
>
> - jesse
>
>


It makes it esier for C/C++ programmers to learn java since the syntax is
similar. However, you DON'T need c/c++ to understand java.

Learn java should be easy from a perl background. But things are little more
lower level than they are in perl.

J

 
Reply With Quote
 
Jorge Rivera
Guest
Posts: n/a
 
      01-05-2004
ak wrote:
>>i'm interested in learning java because i want to move on from perl and

>
> php
>
>>and general web applications like that. i read somewhere that, to learn
>>java, knowing C and C++ is required.

>
>
> it is really better if you _don't_ know c and c++ before you start with
> java.
>

Why? I don't think I could agree with that.

> ____________
>
> http://reader.imagero.com the best java image reader.
>
>

 
Reply With Quote
 
Sudsy
Guest
Posts: n/a
 
      01-05-2004
Jorge Rivera wrote:
> ak wrote:
>> it is really better if you _don't_ know c and c++ before you start with
>> java.
>>

> Why? I don't think I could agree with that.


Because people can develop bad habits using these languages. And then
they have the audacity to demand equivalent functionality in Java
instead of "unlearning what they have learned" (Yoda paraphrased).
I think that ak is right! It's better to come to the OO table with
no preconceptions. Learn Java, find out what it can do and then
learn further how to utilize it best.
Generics are arriving in 1.5? Big deal! Kowtowing to the C++ crowd
is not the way to improve the breed. If C++ was so great then why
are the practitioners migrating to Java?
I'm buttoning up my Nomex(tm) suit after that observation but I
stand behind my aluminum-silicate brick wall on this one...

 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-05-2004
"Jorge Rivera" <> wrote in message
newsK5Kb.53489$...
| ak wrote:
| >>i'm interested in learning java because i want to move on
from perl and
| >> php
| >
| >>and general web applications like that. i read somewhere
that, to learn
| >>java, knowing C and C++ is required.
....
| > it is really better if you _don't_ know c and c++ before you
start with
| > java.
| >
| Why?

Look in this thread at the posts of Sudsy and myself.
Keywords 'baggage' and 'unlearn'.

| I don't think I could agree with that.

Why?


 
Reply With Quote
 
Joona I Palaste
Guest
Posts: n/a
 
      01-05-2004
Jorge Rivera <> scribbled the following:
> ak wrote:
>>>i'm interested in learning java because i want to move on from perl and

>> php
>>>and general web applications like that. i read somewhere that, to learn
>>>java, knowing C and C++ is required.

>>
>> it is really better if you _don't_ know c and c++ before you start with
>> java.
>>

> Why? I don't think I could agree with that.


Having to learn C or C++ before Java is the same as having to learn
Fortran before C or C++, or having to learn Algol before Fortran, or
having to learn machine code before Algol.

--
/-- Joona Palaste () ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"To err is human. To really louse things up takes a computer."
- Anon
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57