GUI programming really does need closures. Operator overloading and pattern
matching help too!
Never forget that all those XxxEvent interfaces are just a (somewhat
verbose) poor-man's closure...

I invite you to read this document, an introduction to scala.swing:
http://www.scala-lang.org/sites/default/files/sids/imaier/Mon,%202009-11-02,%2008:55/scala-swing-design.pdf


If so much time wasn't lost on just the basic plumbing of Swing apps, then
it could be better spent on making them more attractive :)


The current trend is now moving towards a technique known as Functional
Reactive Programming
There's a good paper on the subject here
http://lamp.epfl.ch/~imaier/pub/DeprecatingObserversTR2010.pdf

But if you find that too academic/theoretical, then this may be more to your
taste:
http://github.com/nafg/reactive


On 2 September 2010 07:36, Vince O'Sullivan <[email protected]> wrote:

> On Sep 1, 3:44 pm, Wildam Martin <[email protected]> wrote:
> > I am still faster in delivering a project written in VB for many
> > cases, although there are many good and better paradigms for me using
> > Java. So I really like more programming in Java but this does not mean
> > that it helps the customer a lot who maybe is not interesting in
> > long-term-vision of ROI.
>
> After ten years as a Java programmer, I am in pretty much the same
> position.  The spec of almost every program that I write can be summed
> up in four words; "Show me the data!".
>
> Personally, there are no language features included or missing (such
> as closures or microwaved genetics or whatever) that cause me problems
> that I am aware of.  For me, Java's core weakness (the elephant in the
> room) has been it's more or less complete inability to produce a user
> interface that is anything other than pug-ugly.  AWT was a short lived
> stop gap that was soon replaced with the extraordinarily complex
> Swing.  That would have been fine if Swing was ever built upon and
> developed but, like pretty much all the components of Java, version
> 1.0 was added in and then abandoned.  As a result, you need a degree
> in computer science and ten years experience to get so much as a radio
> button onto the screen in the right place, using Java.
>
> How many times does Steve Jobs have to say its all about the user
> experience before anyone outside Apple notices?  Java 7 isn't going to
> help Java because it only adresses software developers' issues not
> software users'.
>
> Vince.
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>


-- 
Kevin Wright

mail/google talk: [email protected]
wave: [email protected]
pulse: kev.lee.wright
skype: kev.lee.wright
twitter: @thecoda

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to