On 27/01/2011 23:15, Sandro Martini wrote:
Just a quick info, me and Greg (and maybe other Pivot developers) are
very interested in Scala ... but as you the problem is to find enough
time :-) ...

Sure! I have the secret (well, not so much now) hope to help a little bit here.

This week I committed some simple eclipse projects on Scala 2.8.x and
Pivot-2, in our Pivot-Scala project (
http://code.google.com/p/pivot-scala/ ), there aren't released
distribution files, but from its Subversion trunk you can download
everything even as a guest (you can find all the info under its Source
link.
But attention, it's a work-in-progress, and it's only at the beginning.

Like my own work...
I also noticed the recent thread on Scala, I also share the feeling that a Scala DSL to replace BXML would be nice. But my initial work is to stick to closely to the current tutorial way (I would have put the list of states in a text file...) while using some Scala mechanisms. I like the line:
states filter(_.toUpperCase.startsWith(text)) foreach(suggestions.add)
replacing 5 lines of Java while remaining reasonably readable.

Note: it is unfortunate that Pivot uses its own set of collections, it cannot interact nicely with Scala, unless re-doing some wrappers/implicits.

Much more content could go there, for some I have already some working
test, and probably even Greg ... but I know Scala only a little so
anything is really much more time consuming.

Same here (Scala newbie, little time...).
Trying to advance a bit by myself, for self-educational purpose, before looking at the work of others...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

Reply via email to