News for hackers. Stuff that matters.
Re:Dotty: a next generation compiler for Scala by premium-concern on Wednesday June 22, 2016 @09:46AM (#11953830)
Yes, it's like they reinvent all the things that were considered but discarded in Scala and believe they found something nobody ever thought about before.
Re:Dotty: a next generation compiler for Scala by partisan on Wednesday June 22, 2016 @10:36AM (#11954259)
I am not sure that Kotlin competes with Scala in any way. They are trying to remove the pain from Java by providing a concise and safe language (see the quotes from their website below). What are "all the things" they reinvented that were discard in Scala?

> Kotlin is a pragmatic programming language for JVM and Android that combines OO and functional features and is focused on interoperability, safety, clarity and tooling support.

> Being a general-purpose language, Kotlin works everywhere where Java works: server-side applications, mobile applications (Android), desktop applications.

Re:Dotty: a next generation compiler for Scala by premium-concern on Wednesday June 22, 2016 @12:42PM (#11955224)
> What are "all the things" they reinvented that were discard in Scala?

Extension methods, properties, special syntax for everything, final by default, short constructor syntax, trying to put band-aid around Java's broken collection types, ...

Re:Dotty: a next generation compiler for Scala by didip on Thursday June 23, 2016 @10:34AM (#11961149)
I'd love to learn more about Java's broken collection types. What's broken about them?
Re:Dotty: a next generation compiler for Scala by premium-concern on Thursday June 23, 2016 @08:47PM (#11965438)
The pattern of throwing exceptions for operations deemed "unsupported", an API that requires massive workarounds to keep alive in Java 10, no support for immutable collections, unmodifiable views are a complete clusterfuck, no persistent collections etc.
Re:Dotty: a next generation compiler for Scala by partisan on Wednesday June 22, 2016 @12:58PM (#11955353)
Thank you. I appreciate the list.
Re:Dotty: a next generation compiler for Scala by ionforce on Wednesday June 22, 2016 @11:28AM (#11954677)
Kotlin competes with Scala in that they are both alternatives to Java.
Re:Dotty: a next generation compiler for Scala by yawaramin on Thursday June 23, 2016 @09:54PM (#11965719)
Every single description of Kotlin in your comment could just as easily be describing Scala.
Re:Dotty: a next generation compiler for Scala by pjmlp on Wednesday June 22, 2016 @11:33AM (#11954708)
At least they care about 1st class support on Android Studio, instead of InteliJ + sbt + missing support from Android tooling.
Re:Dotty: a next generation compiler for Scala by premium-concern on Wednesday June 22, 2016 @12:43PM (#11955233)
If you feel that something is missing people would likely be happy to receive bug reports/feature requests.
Re:Dotty: a next generation compiler for Scala by pjmlp on Wednesday June 22, 2016 @01:41PM (#11955643)
They are full aware of it:

"Android Studio should currently not be used for development with sbt and Scala. Chances are, however, that it's a good fit for a Gradle + Scala setup."

http://scala-on-android.taig.io/editor/android-studio/

Using InteliJ instead of Android Studio means not being able to use the latest tooling even from the stable version, as InteliJ is always some versions behind.

Using Gradle + Scala implies a few configuration steps that tend to break at each new Android Studio release, versus the out of the box experience from Kotlin.

Re:Dotty: a next generation compiler for Scala by premium-concern on Wednesday June 22, 2016 @05:07PM (#11957042)
I have never seen this documentation and it seems to be wildly outdated.

Which issues did you experience with Android Studio?

Re:Dotty: a next generation compiler for Scala by pjmlp on Wednesday June 22, 2016 @05:55PM (#11957340)
No out of the box integration even for basic stuff.

I expect no more hurdles than just using Java official Android tools.