typesafety
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @03:17PM (#2541935)
I would like them to be fixable, because otherwise Scala is a decent language, but it is too early to say.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @02:29PM (#2541741)
Good one.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @01:54PM (#2541568)
I'm guessing you've never actually proven type safety for a non-trivial language, if any. While there are many ways type safety could be stated for Scala, I'm pretty sure most Scala programmers would like the version of type safety that states "if I never use a type cast, I can never get a class cast exception." If you think that is too strong of a statement, then fine, but I think most people would agree this is a reasonable expectation for Scala.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @12:41PM (#2541220)
I guess I'm not following, because type safety is a property of typed language. Expressive power is orthogonal. There are type systems that are more expressive and less expressive and ideally you design your language so that regardless of where it lies on the spectrum it has type safety. Otherwise, the type system does not really provide you with any real guarantees.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @12:17PM (#2541097)
I don't see any mention of a specific safety problems. Plus, I am given to believe that there are actually numerous papers on the extensions involved in the Haskell type system. Consider http://haskell.org/haskellwiki/Simonpj/Talk:OutsideIn
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @11:59AM (#2541027)
I didn't find these bugs, they're just ones that have been accumulating over the years. If all of these were as simple as being "bugs" rather than flaws in the type system why wouldn't they have been fixed by now?
Is there something wrong with trying to encourage them to fix these problems and make Scala all the better for it?
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @11:45AM (#2540951)
So I'm curious, can you point to known problems with Haskell or ML that do not involve using the unsafe features? Scala has problems even without resorting to "unsafe" features like casting or native methods.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @11:10AM (#2540816)
That's really a different issue than type safety.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @11:05AM (#2540791)
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @10:57AM (#2540760)
There are numerous holes in the type system. Just browse their bug tracker to see. And several of them are not just "bugs" but deep flaws in the type system.
Re:Martin Odersky (Scala creator) launches company to commercialize sc...
on Thursday May 12, 2011 @10:52AM (#2540740)
I find it incredibly ironic that they have called the company Typesafe when type-safety is something Scala definitely does not have.