Gentoo Archives: gentoo-dev

From: Patrick Lauer <patrick@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Packages up for grabs
Date: Sun, 07 Aug 2016 20:48:49
Message-Id: 57f9c5af-b911-a1bc-26bb-c0e721736016@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Packages up for grabs by Alan McKinnon
1 On 08/07/2016 10:04 PM, Alan McKinnon wrote:
2 > On 07/08/2016 19:36, james wrote:
3 >>> The interesting apps out there are mostly running python, go and
4 >>> (sometimes) lua. And that's what I observe in my day job -
5 >>> business/mobile ISP.
6 >>
7 >>
8 >> Look at the job listing on stackoverflow and elsewhere (java) is very
9 >> popular when they list several programming languages to meet the
10 >> requirements. I'm not promoting java, at all, but just stating that it
11 >> is very popular, on new projects (but not all) and it is a large and
12 >> frequent requirement, dictating by employers. Kids coming out of college
13 >> want a job, more than anything, and most are having java crammed down
14 >> their throats. So we should find a way to robustly
15 >> support those that need java. Nothing is precluding other languages
16 >> in my message. Personally I avoid java, unless it is critical to
17 >> a code or family of codes I need to run.
18 >
19 >
20 > I recommend Java as a teaching language at university level.
21
22 I've seen the fallout from trying to do that.
23
24 It's a horribly bad idea ...
25
26 > You get all the benefits of a C-like syntax without the overhead of
27 > learning to deal with C and/or C++. You don't have to deal with the
28 > toolchain (much), you can easily show correct implementations of OOP
29 > style without getting into generics (or, you can avoid Java generics
30 > altogether at this level and pretend they don't exist).
31
32 Java and OOP ? If you want to do things right, best to use something
33 proper like Eiffel or Oberon. And Java will be most excellent at
34 teaching about pointers (but there are no pointers!) to maximize the
35 learning curve gradient ...
36
37 On the upside your students will learn useless incantations along the
38 lines of "publicstaticvoidmain!" that they can't explain and copypasta :)
39
40 I've found these two a long time ago, and they still amuse me:
41
42 http://gentooexperimental.org/~patrick/keywords.java.txt
43 http://gentooexperimental.org/~patrick/helloworld.java.txt
44
45
46 > In short, what's not to like for teaching? All win not much lose.
47 >
48 > Well OK some kids come away thinking Java is the one and only, but they
49 > will have that too if Python is the teaching language. Realizing there
50 > are other things out there is part of the learning process.
51 >
52 > But, despite all that, Java is not special. It should run on Gentoo for
53 > anyone who wants it, just like things starting with P.
54 >
55 > You volunteering to do the grunt work?
56 >
57
58 Java works pretty well on Gentoo, I'm not quite sure what needs to be
59 fixed ... I mean, apart from our insane idea to "build from source"
60 which doesn't fit with the existing structures in the java ecosystem

Replies

Subject Author
Re: [gentoo-dev] Re: Packages up for grabs james <garftd@×××××××.net>