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


Groups > comp.lang.java.programmer > #26812

Re: Teaching Java, teaching what?

From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: Teaching Java, teaching what?
Date 2013-12-09 17:58 -0800
Organization A noiseless patient Spider
Message-ID <l85sfr$e0t$1@dont-email.me> (permalink)
References <Java-20131208164618@ram.dialup.fu-berlin.de> <52a5b585$0$2906$e4fe514c@news.xs4all.nl> <servlets-20131209142741@ram.dialup.fu-berlin.de> <NQlpu.497700$c56.182221@fx32.iad> <52a66a58$0$296$14726298@news.sunsite.dk>

Show all headers | View raw


On 12/9/2013 5:11 PM, Arne Vajhøj wrote:

> But they want them to learn Java by doing JSF web apps,
> RESTful web services etc.. The result is not pretty. The students
> that should learn about data structures, control structures, OOP
> etc. are looking at things generated by Eclipse wizards and they have
> no idea about what all that stuff is doing.


This is intuitively what I would have guessed.  Beginning students need 
to actually write their own code.  It's part of the process that makes 
them learn.


> The problem here is probably more in the area of motivation. A console
> app does not look fancy and that could be demotivating.


I think simple GUI calls would be OK.  JOptionPane.showMessageDialog() 
is fairly painless way of making GUI windows.  Ditto for most of the 
other JOptionPane static methods.  You could get quite a bit of mileage 
out of just that class.

If you wanted more, I'd keep the GUI layout very simple, and just give 
the class the GUI code to copy.  Show them where the entry point is and 
just let them call that.  I did a large project in my senior year of 
school where two grad students had written most of the code and we were 
just to "fill in the blanks" where the instructor removed the bits he 
wanted us to learn.  It was a fairly efficient way of understanding code 
as well as having a large project working without a lot of busywork or 
endless debugging.

Note that all Swing code is now not thread safe.  It all has to be 
called on the EDT.  That's a further complication, but one I think 
students should be exposed to.  If not, you'll cause dissonance when you 
tell them the way they've learned to write code all along isn't correct. 
  Some just won't believe you.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-09 13:20 +0100
  Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-09 16:17 +0100
    Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-09 20:02 -0500
      Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-10 11:56 +0100
        Re: Teaching Java, teaching what? lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-10 12:07 +0000
          Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-10 13:39 +0100
            Re: Teaching Java, teaching what? lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-10 12:56 +0000
              Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-10 14:38 +0100
          Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 20:05 -0500
        Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 19:58 -0500
          Re: Teaching Java, teaching what? Joerg Meier <joergmmeier@arcor.de> - 2013-12-15 03:49 +0100
          Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-15 11:29 +0100
            Re: Teaching Java, teaching what? lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-12-15 10:55 +0000
          Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-15 16:54 -0400
  Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-09 12:02 -0400
    Re: Teaching Java, teaching what? Martin Gregorie <martin@address-in-sig.invalid> - 2013-12-09 21:49 +0000
    Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-09 20:11 -0500
      Re: Teaching Java, teaching what? markspace <markspace@nospam.nospam> - 2013-12-09 17:58 -0800
      Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-10 10:22 -0400
        Re: Teaching Java, teaching what? Jeff Higgins <jeff@invalid.invalid> - 2013-12-10 11:02 -0500
        Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-10 12:47 -0400
          Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 18:04 -0500
            Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-15 16:58 -0400
              Re: Teaching Java, teaching what? Jeff Higgins <jeff@invalid.invalid> - 2013-12-15 16:36 -0500
                Re: Teaching Java, teaching what? Jeff Higgins <jeff@invalid.invalid> - 2013-12-15 18:17 -0500
        Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-14 17:59 -0500
          Re: Teaching Java, teaching what? leif.roar@invalid.com (Leif Roar Moldskred) - 2013-12-15 04:20 -0600
            Re: Teaching Java, teaching what? Silvio <silvio@internet.com> - 2013-12-15 12:23 +0100
            Re: Teaching Java, teaching what? Arne Vajhøj <arne@vajhoej.dk> - 2013-12-15 10:00 -0500
            Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-16 10:28 -0400
          Re: Teaching Java, teaching what? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-12-15 21:32 -0400

csiph-web