> 
> 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!
> 

Don't forget how iterators work in Smalltalk using blocks (somewhat similar
in Ruby and Python now I believe).  That's quite functional to me.

> 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).
> 

Yes, that's where blocks would be great!

--
knut

Reply via email to