Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26921
| Date | 2013-12-15 10:55 +0000 |
|---|---|
| From | lipska the kat <"lipskathekat at yahoo dot co dot uk"> |
| Organization | Trollbusters 3 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Teaching Java, teaching what? |
| References | (3 earlier) <52a5df22$0$2920$e4fe514c@news.xs4all.nl> <52a66816$0$296$14726298@news.sunsite.dk> <52a6f363$0$2880$e4fe514c@news.xs4all.nl> <52acfec0$0$301$14726298@news.sunsite.dk> <52ad84a0$0$2926$e4fe514c@news2.news.xs4all.nl> |
| Message-ID | <FLmdnTxTSp07FzDPnZ2dnUVZ8u-dnZ2d@bt.com> (permalink) |
On 15/12/13 10:29, Silvio wrote: > On 12/15/2013 01:58 AM, Arne Vajhøj wrote: >> On 12/10/2013 5:56 AM, Silvio wrote: >>> On 12/10/2013 02:02 AM, Arne Vajhøj wrote: >>>> And web is often less OO than desktop apps, which may move >>>> focus from the purpose of the course. >>> >>> I usually get nervous twitches when people start saying something is >>> more or less OO. There is no such thing as general OO-ness >> >> Unless you will claim that there is only two possible >> states non-OO and OO, then something can be more or less >> OO than something else. >> >>> and saying >>> that web is less OO than desktop is complete nonsense. >> >> Calling something nonsense is not a very convincing argument. >> >> Try instead of writing an application able to add two integers >> and display the result in Swing, Struts 1.x and JSF - and count >> number of occurrences of inheritance, polymorphism and encapsulation >> for each compare dto number of lines written. >> >> I think you will find that Swing has a lot of OO features, while >> Struts 1.x and JSF are more multi-paradigm oriented, which means >> less OO. >> >>> An entry level course usually focuses on general stuff like classes, >>> instances, encapsulation and methods. I personally think command line >>> test code is best suited there since it distracts the least from the >>> main topics. >>> >>> Swing brings an enormous amount of extra logic into the picture. Apart >>> from the fact that you have to discuss components and hierarchies, >> >> But that is exactly what you would want to discuss in an OO course. >> >>> graphics, >> >> Don't need that for a basic Swing app. >> >>> layout managers, >> >> There will be a bit of black magic with that, but it is nothing compared >> to CSS. >> >>> event handling etc. >> >> That is very OOish. >> >>> it has a dirty API that >>> brings along a zillion names, adapters, patterns etc. >> >> You can do basic Swing with a modest number of classes. >> >> Arne >> > > Components and event handling have nothing to do with "OO". You can do > both in a procedural style. In fact, in the early days of event driven > user interfaces it was mostly done in C in a very procedural way. I've discovered that it's not really worth arguing with Arne about OO. He doesn't really 'get it'. But kudos for trying. -- Lipska the Kat©: Troll hunter, sandbox destroyer, treacherous feline and farscape dreamer of Aeryn Sun GNU/Linux user #560883 - http://www.linuxcounter.net
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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