This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: In the long run, what kind of developers do you think will make most use of scala?

3 replies
Adriaan Moors
Joined: 2009-04-03,
User offline. Last seen 42 years 45 weeks ago.
[please move this discussion to debate]

On Fri, Oct 23, 2009 at 4:48 PM, Jim Andreou <jim [dot] andreou [at] gmail [dot] com> wrote:
Lets hear what Guy Steele has to say about programming using things
like Scala's List (instead of arrays).

http://groups.csail.mit.edu/mac/users/gjs/6.945/readings/MITApril2009Steele.pdf

In short: "it's a fundamentally bad idea".
whoa! that could use some nuance...
here's an actual quote from the slides:
 Inventing new combining operators is a very, very big deal. 
> Creative catamorphisms! 
> We need programming languages that encourage this.

Sounds a lot like Scala to me -- in fact, work is under way on a parallel collections library.
adriaan
ounos
Joined: 2008-12-29,
User offline. Last seen 3 years 44 weeks ago.
Re: In the long run, what kind of developers do you think will

2009/10/23 Adriaan Moors :
> [please move this discussion to debate]
>
> On Fri, Oct 23, 2009 at 4:48 PM, Jim Andreou wrote:
>>
>> Lets hear what Guy Steele has to say about programming using things
>> like Scala's List (instead of arrays).
>>
>>
>> http://groups.csail.mit.edu/mac/users/gjs/6.945/readings/MITApril2009Ste...
>>
>> In short: "it's a fundamentally bad idea".
>
> whoa! that could use some nuance...
> here's an actual quote from the slides:
>>
>>  Inventing new combining operators is a very, very big deal.
>>
>> > Creative catamorphisms!
>>
>> > We need programming languages that encourage this.
>
> Sounds a lot like Scala to me -- in fact, work is under way on a parallel
> collections library.
> adriaan

Sure, both thumbs up for that. I only meant scala.List.

Cheers,
Dimitris

Jesper Nordenberg
Joined: 2008-12-27,
User offline. Last seen 42 years 45 weeks ago.
Re: In the long run, what kind of developers do you think wi

It's also interesting to note that Steele uses binary trees and calls
arrays suspicious as most fast persistent data structures use arrays and
a much higher branching factor.

/Jesper Nordenberg

Adriaan Moors wrote:
> [please move this discussion to debate]
>
> On Fri, Oct 23, 2009 at 4:48 PM, Jim Andreou > wrote:
>
> Lets hear what Guy Steele has to say about programming using things
> like Scala's List (instead of arrays).
>
> http://groups.csail.mit.edu/mac/users/gjs/6.945/readings/MITApril2009Ste...
>
> In short: "it's a fundamentally bad idea".
>
> whoa! that could use some nuance...
>
> here's an actual quote from the slides:
>
> Inventing new combining operators is a very, very big deal.
>
> > Creative catamorphisms!
>
> > We need programming languages that encourage this.
>
>
> Sounds a lot like Scala to me -- in fact, work is under way on a
> parallel collections library.

Ricky Clarkson
Joined: 2008-12-19,
User offline. Last seen 3 years 2 weeks ago.
Re: In the long run, what kind of developers do you think will

My Scala code is simpler than my Java code, because the Java code
contains lots of noise that the Scala code doesn't.

For example:

new SwingWorker() {
public Void doInBackground() {
stuff.writeToFile();
}
}.execute();

compared to:

doInBackground(stuff.writeToFile())

If you honestly think the Java version is simpler, then I think we
don't have much more to talk about.

[By the way, note that you need to remember to click Reply to All for
these lists. You can set it as the default in your gmail prefs]

2009/10/27 jlist9 :
> It's shorter, for sure. I'm not sure about simpler.
>
> If you have a text file and you zip it, it will get shorter. But it
> won't get simpler :-)
>
> I'm still learning but Scala so far gives me the zip file impression,
> powerful but
> sufficiently cryptic. I'm sure it'll get better when I can do some DEFLATE
> calculation in my mind. But I have to say, it's harder than reading and writing
> in plain text - Java, at least for now :-)
>
>
> On Fri, Oct 23, 2009 at 7:05 AM, Ricky Clarkson
> wrote:
>> Simple is always better, sure.  And my Scala code is simpler than my Java code.
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland