Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@×××××××××××.com>
To: Tom Wesley <tom.wesley@××××××××.com>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Programming advice wanted?
Date: Mon, 22 Mar 2004 21:10:03
Message-Id: 405F55E9.5000902@skylineaero.com
In Reply to: Re: [gentoo-dev] Programming advice wanted? by Tom Wesley
1 Tom Wesley wrote:
2 > On Monday 22 Mar 2004 20:48, Andrew Gaffney wrote:
3 >
4 >>Dennis Allison wrote:
5 >>
6 >>>I don't want to start a flame war, but after an initial love affair I
7 >>>dont't much like Java. It's not a "better C++", it's a "different C++".
8 >>>I found the hype associated with the language irritatiing and the lack of
9 >>>stability as the language evolved unfortunate. But there are places
10 >>>where the language was useful and I put aside my personal prejudices and
11 >>>worked with the notation.
12 >>>
13 >>>But, I personally don't think Java's a good language for Andrew's
14 >>>purpose--which is to learn to program.
15 >>
16 >>Tom Wesley was the OP, not me :) The point is still valid, though.
17 >
18 > Who said that? ;)
19 >
20 >>>In a very real sense, I think assembly lanaguage (or even Hex machine
21 >>>code) may be a good place to start to learn programming. A good macro
22 >>>assembler is an awesome tool in the hands of a skilled programmer. Some
23 >>>beginning programming books--Yale Patt's in particular--adopt the view
24 >>>that everyone should learn about programming from the bits up.
25 >>
26 >>Assembly is something I still wish to learn. Maybe I actually will someday.
27 >
28 > I've neither the patience or the coffee, me thinks.
29
30 Yeah, it will probably require large quantities of both.
31
32 >>>My point was/is that programming is language independent. I've always
33 >>>liked Michael Griffith's comment about programming: "I always use the
34 >>>same programming language no matter what the compiler" or something like
35 >>>that. Using a polymorphic, internally consistent, object-oriented
36 >>>language like Python is a good framework to learn programming. I think
37 >>>Python does a pretty good job of capturing the abstractions you need to
38 >>>write simple, conceptually clear programs. You don't have to worry about
39 >>>the nits, you can program interactively and see what happens, and there's
40 >>>not the huge overhead of type mechanisms to drag into every single little
41 >>>program. The language is introspective (aka introspective) so programs
42 >>>can learn about their own structure.
43 >>
44 >>Perl is good for mostly the same reasons, which is why it's my current
45 >>language of choice.
46 >>
47 >>
48 >>>But ultimately the only way to learn about programming is to read
49 >>>programs and work with masters in the field. It's still an art not a
50 >>>science.
51 >
52 > I think I may have given a slightly wrong impression with my original email -
53 > I am a programmer or sorts, but have done nothing in either Linux or
54 > C/C++....
55
56 I got that. The discussion just got off on a bit of a tangent. That happens sometimes on
57 mailing lists, don't ya know ;)
58
59 > This discussion seems to be leading towards the use of scripting (?) languages
60 > like Python and Perl, and more mentions of Python than anything else. I have
61 > to say that I like the idea of this, least of all because it will give me
62 > some ability to comment on portage and other Gentoo specifics.
63 > I like this idea, as for some reason it sounds less of a large slope to climb.
64 > If/when I get there, what are the GTK+2 and QT bindings like for Python? I'm
65 > mainly concerned about the speed and how similar it is to using C/C++ - it's
66 > quite probable that I'll want to learn either eventually.
67
68 I'm beginning to learn Python, but I don't like it much. I do really love Perl, though.
69 These are my opinions, though, and should not necessarily be your's. If you're looking for
70 something similar to C/C++ in syntax, lean towards Perl. Also, Python isn't as friendly to
71 new users as Perl is because of its formatting restrictions. Make your own opinions,
72 though. Learn both. Play with both.
73
74 --
75 Andrew Gaffney
76 Network Administrator
77 Skyline Aeronautics, LLC.
78 636-357-1548
79
80
81 --
82 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Programming advice wanted? Daniel Armyr <daniel.armyr@××××.se>