The biggest thing that is still in the language that they should have removed early on is the native XML syntax support. If I were them I would take it out in 3.0 and break from that bad decision.
Scala: The Static Language that Feels Dynamic (Bruce Eckel)
11–20 of 65 posts
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#12Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#13Gosu has the same dynamic feel in a statically typed JVM language, with much less complexity. (I should mention Fantom too, although I'm much less familiar with it.) Artima appears to have gone all-scala-all-the-time at some point in 2010. Weird.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#14The biggest thing that is still in the language that they should have removed early on is the native XML syntax support. If I were them I would take it out in 3.0 and break from that bad decision.
Summary: No. At the time that Scala was started, built-in support for XML showcased one area were object-oriented decomposition failed and functional programming proved quite useful. Today the benefits of FP are more well known, and it's generally agreed that if Scala were starting from scratch it would not include XML literals. However, given that XML literals are in the language already, that large code bases have come to rely on them, and that they generally don't get in the way if you don't use them, it's unlikely that they will be removed.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#15The biggest thing that is still in the language that they should have removed early on is the native XML syntax support. If I were them I would take it out in 3.0 and break from that bad decision.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#16> I find it one of the most promising things about Scala -- it is not determined to become an instant boat anchor by committing to early decisions that are later revealed to be suboptimal, or outright mistakes. The fact that Scala uses the JVM, with a hacky workaround for type erasure, is suboptimal.
The Scala team have plans afoot to target LLVM and .NET too.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#17Gosu has the same dynamic feel in a statically typed JVM language, with much less complexity. (I should mention Fantom too, although I'm much less familiar with it.) Artima appears to have gone all-scala-all-the-time at some point in 2010. Weird.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#18The biggest thing that is still in the language that they should have removed early on is the native XML syntax support. If I were them I would take it out in 3.0 and break from that bad decision.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#19Earlier quoted context omitted.
The Scala team have plans afoot to target LLVM and .NET too.
Do they have actual plans though? There has been talk of .NET support since the beginning. Basically I wouldn't hold my breath.
Re: Scala: The Static Language that Feels Dynamic (Bruce Eckel)
#20Gosu has the same dynamic feel in a statically typed JVM language, with much less complexity. (I should mention Fantom too, although I'm much less familiar with it.) Artima appears to have gone all-scala-all-the-time at some point in 2010. Weird.
Scala looks complex on paper, but my experience has been that in practice it's not that bad. If you're designing a library you need to think hard about types but you can put together an app very quickly in Scala and with a lot fewer initial bugs than in a dynamically typed language.