[ 
https://issues.apache.org/jira/browse/PIVOT-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064999#comment-14064999
 ] 

Sandro Martini edited comment on PIVOT-851 at 10/28/14 8:37 AM:
----------------------------------------------------------------

Our collections should be improved to better support functional programming 
(FP) abstractions (prefer, immutability, handle functions as arguments for what 
is possible before Java 8, etc).

But try to add changes in a SAM compatible way, for simpler/better 
interoperability with Java 8.
For some info, look here:
http://zeroturnaround.com/rebellabs/java-8-the-first-taste-of-lambdas/
http://stackoverflow.com/questions/17913409/what-is-a-sam-type-in-java



was (Author: smartini):
Our collections should be improved to better support functional programming 
(FP) abstractions (prefer, immutability, handle functions as arguments for what 
is possible before Java 8, etc).

> Verify if move to a more reactive approach for event propagation and loose 
> coupling between components
> ------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-851
>                 URL: https://issues.apache.org/jira/browse/PIVOT-851
>             Project: Pivot
>          Issue Type: Wish
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>              Labels: event, gui, java, message, reactive, scala
>             Fix For: 3.0
>
>
> Verify if move to a more reactive approach for event propagation and loose 
> coupling between components.
> For example, verify (for what it's possible in Java, without a full rewrite 
> in Scala)
> http://www.scala-lang.org/sites/default/files/sids/imaier/Mon,%202009-11-02,%2008:55/scala-swing-design.pdf
> http://lamp.epfl.ch/~imaier/pub/DeprecatingObserversTR2010.pdf
> http://stackoverflow.com/questions/3755453/scala-listener-observer
> http://stackoverflow.com/questions/3084546/design-patterns-for-functional-oo-hybrid-languages
> An innovative frameworks like Play have chosen for its new major release 
> (2.0, released in March 2012) to do a full rewrite in Scala BUT with full 
> compatibility even with Java (and Java 8 should have the same features too 
> ...).
> Last, another interesting point to explore (but again mainly for Scala, or 
> using Akka even from Java) could be to use Actors (local and/or remote), even 
> for events ... just as idea.
> Many other interesting ideas for a more "complete" approach to make 
> applications from Eclise E4 (extension points, mapping controllers to URLs, 
> etc), for example some info here:
> http://www.vogella.com/articles/Eclipse4RCP/article.html
> and of course even from Griffon (in from the Groovy side).
> At the moment this issue is only a pleceholder to share in the same place 
> ideas and links on this subject ... so as always comments are welcome.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to