Gentoo Archives: gentoo-dev

From: Marc Giger <gigerstyle@×××.ch>
To: Andrew Gaffney <agaffney@×××××××××××.com>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Programming advice wanted?
Date: Mon, 22 Mar 2004 22:06:52
Message-Id: 20040322230648.7443925d@vaio.gigerstyle.ch
In Reply to: Re: [gentoo-dev] Programming advice wanted? by Andrew Gaffney
1 On Mon, 22 Mar 2004 14:30:15 -0600
2 Andrew Gaffney <agaffney@×××××××××××.com> wrote:
3
4 > Marc Giger wrote:
5 > > On Mon, 22 Mar 2004 13:13:42 -0600
6 > > Andrew Gaffney <agaffney@×××××××××××.com> wrote:
7 > >
8 > >>Dennis Allison wrote:
9 > >>
10 > >>>First, it is important to understand that programming is
11 > >independent>>of any particular programming language. Languages are
12 > >just the >>representation or notation for programs. Some are large
13 > >and complex>>and likely to get in the way of understanding
14 > >programming (C++); >>others are spare and simple and conceptually
15 > >clean (Python, Scheme).>>
16 > >>>I'd begin with Python and then move on to other languages.
17 > >Starting>>with C++ is a bit like deciding you want to take up
18 > >mountain>>climbing and that the first mountain you want to climb is
19 > >Mount>>Everest.
20 > >>
21 > >>While I do completely agree with that analogy, C++ was the first
22 > >>(real) language I learned (after Apple BASIC, QBasic, VB, and Java
23 > >>(*I* do not consider Java a real language)) and
24 > >
25 > > I really don't understand what people have against Java?!? Is it
26 > > because of Sun and its license?
27 > > I have many years of experience in java programming and also learned
28 > > object oriented programming with it. In my opinion it's good and
29 > > clean. How many other languages do you know, which works on multiple
30 > > platforms without recompiling, run as a plugin in browsers, has deep
31 > > security concept built in (sandbox, bytecode verifier, etc),
32 > > multithreading as a basic language feature, exception handling,
33 > > RPC/RMI, etc etc etc ...
34 >
35 > I didn't like it because I was *forced* to use OOP to program with it.
36
37 >
38 > > If someone really is interested in understanding object oriented
39 > > programming then I would advise to begin with Java.
40 > >
41 > >>it gave me a broad understanding of the way that any language works.
42 > >>Because I know C/C++, I can easily pick up new languages because I
43 > >>don't have to learn new concepts.
44 > >
45 > > Agreed, but as you said, your first language was not C/C++ but
46 > > Basic, VB, Java etc. Correct me if I am wrong, but I think you
47 > > learned(hopefully) object oriented programming mostly with Java.
48 >
49 > I did say that C/C++ was my first *real* language. With Java, I never
50 > really did learned OOP. I learned a little about objects and classes,
51 > but nothing about inheritance or anything like that. I couldn't
52 > understand what was going on behind the scenes. That's why I moved on.
53 >
54 > > In my case I learned OOP in Java and could utilize it to C++ without
55 > > big problems. The only strange thing was weird language constructs
56 > > and discrepancies in C/C++.
57 >
58 > I had to pretty much relearn OOP when I learned C++.
59
60 Ok, if you begin to learn programming with C++ and you take it
61 seriously, you have to learn 2 things:
62
63 - OOP and C++
64
65 With Java you can concentrating you fully to OOD / OOA / OOP and you
66 don't have to worry about the syntax etc.
67
68 That's fully different to C++.
69
70 Regards
71
72 Marc
73
74 --
75 gentoo-dev@g.o mailing list