-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/1/10 10:38 , Mario Fusco wrote:
>> Hope that demonstrates one case where it is useful. If you can get to
>> JavaOne, I will be doing my Funky Java, Objective Scala talk there,
>> and I hope I can make my case more strongly :-).
>>
>> Dick
>
> Thanks a lot Dick. Your talk was already registered in my Schedule
> Builder :)
>
Dick's example is great, but it doesn't show how "Scala is complex".
It does show how "Scala is powerful", exactly in the meaning that
Mario gave a few days ago. Complexity is not easily to demonstrate in
a blog post, because I interpret it as the required bag of notions
needed by a developer (who's neither Dick nor Mario) to solve a
problem in a smart way.

In other words, let's give:

1. a problem
2. a solution in Java made of 100 LoC and a cost of maintenance that I
set to "1"
3. a solution in Scala made of 10 LoC and a cost of maintenance that I
set to "0.1"

This is the typical Scala ( / whatever) evangelism example. This
demonstrates that Scala is more powerful with respect to two software
qualities (LoC and cost of maintenance). Still, if - starting from
zero knowledge of both languages - I need 4 months of learning /
trying to get to the Scala solution and 4 weeks to get to the Java
solution, I'm still saying that Java is simpler. Note that - also to
bring in the other thread by Mario - in function of the numeric
relative figures of properties (that of course in my example I put at
some example random values), the Scala solution might prove an
advantage in the long run (because when I'll eventually get proficient
in Scala I'll be able to write better solutions) or not (because the
time will be longer that a given milestone, or because when I'll get
to that Scala proficiency I'll move to a new, better paid job, leaving
my employer with an open problem - he'll have to spend more, or get
back to another new Java developer who's not able to maintain the
current Scala code.

I hope that this example clarifies where the Scala adoption problems
lie in the real world and can't be solved by a blog post.



- -- 
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
fabrizio.giud...@tidalwave.it
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxVVd0ACgkQeDweFqgUGxcPPwCfaI5qJV1nI8WWY5T923w4L/2k
QeoAn3l2x688R+FfQCJBvQLtJZwsl7+i
=6wP2
-----END PGP SIGNATURE-----

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

Reply via email to