On Mercredi, f�vr 12, 2003, at 05:51 Europe/Paris, Todd Jonker wrote:
[ Most OO languages are pretty aggressively imperative. It's damn nearOn this I don't agree. I do think you can write lots of useful GUI things that almost purely functional (e.g. a Swing model class based on some predefined storage). It's just rarely seen.
impossible to write a useful Java program without using an assignment. ]
Moreover there are thing that really suck in functional programming: how do you want to make, without a state, something like an iterator that walks a tree ? And iterators are really close to functional, are immensely useful!
As to the cumbersomeness of the inner-class syntax, I think this really only true if you respect the coding conventions which, for most of what I have seen, have never talked about these hence require five lines for a one line inner-class (e.g. a parameter to SwingUtilities.invokeLater() parameter).
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
