On Sun, Aug 1, 2010 at 1:09 PM, Fabrizio Giudici <
[email protected]> wrote:

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

But there's a mistake in your assumption.
If you decide that a language you do not have experience with is the best
language for the task, that will hopefully be just that.

It's all in the constraints of the problem, what's important, time to
delivery, total cost of ownership or whathaveyou?

Intel and GloFo spend billions of dollars in developing new factories to
produce smaller transistors. Then they spend less money to refine the
process, then they build newer factories that can produce smaller
transistors.
Sometimes it's worth investing 4 months into tech (Scala) that will be more
beneficient for you in the long run.

I spent almost 10 years doing Java, and I refined my skills until I felt
there wasn't anything more to refine, and to produce better software, I
needed to invest time into a new technology (Scala). With that being said, I
am a worse Scala programmer than a Java programmer, but I now produce more
features, at higher velocity, with lower maintenance cost than I ever did
with Java.

There is no one-solution-fits-all, everyone has to decide for themselves
what is most important to them, both in the short run and in the long run.

BRs


>
>
> - --
> Fabrizio Giudici - Java Architect, Project Manager
> Tidalwave s.a.s. - "We make Java work. Everywhere."
> java.net/blog/fabriziogiudici - www.tidalwave.it/people
> [email protected]
> -----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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>


-- 
Viktor Klang
| "A complex system that works is invariably
| found to have evolved from a simple system
| that worked." - John Gall

Akka - the Actor Kernel: Akkasource.org
Twttr: twitter.com/viktorklang

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

Reply via email to