Live data from Hacker News

Viewing profile — modersky

modersky

HN member
Joined
Tue, Aug 10, 2010, 8:06 PM UTC
HN karma
455
Public activity
55 items

About modersky

No profile information was provided.

Recent public activity

  1. comment
    Comment #16884808

    Here's the current state: https://github.com/lampepfl/dotty/pull/4229

  2. comment
    Comment #16884449

    It has to do with what kind of dependencies the incremental compiler wrapper (e.g. zinc) can extract from the baseline compiler (e.g nsc or dotc). The Scala 3 compiler dotc handles…

  3. comment
    Comment #16884397

    We will check first whether they can be expressed as a macro (the macro roadmap for Scala 3 is still evolving).

  4. comment
    Comment #16884317

    It's currently about as fast as Scala 2.12, which means it compiles at roughly 3000 lines/sec. However, it supports more aggressive incremental compilation than Scala 2 so at least…

  5. comment
    Comment #16884218

    The shared library we are talking about is the upcoming 2.13 library, which has the new collections design. We currently link against the 2.12 library but will switch to 2.13 once …

  6. comment
    Comment #11953022

    There can be instances of Tree[Nothing], just like there can be instances of List[Nothing]. It just means that in a scenario like this: class Tree[T] { def elem: T } if t is a Tree…

  7. comment
    Comment #11603055

    I disagree. Value classes are a great tool in my arsenal, and not just for extension methods.

  8. comment
    Comment #10480284

    Different languages have different design tradeoffs. I had many profitable exchanges with Andrey Breslav and other Kotlin designers. We can have a technical discussion about the de…

  9. comment
    Comment #10293024

    Have to step in here :-). In fact I bet that Scala has fewer features than Kotlin. In retrospect I now think Scala could have had fewer features, and hope we can get to a state whe…

  10. comment
    Comment #10042381

    Yes, Tree[Top] would have been another way to model this. I wanted Tree[Nothing] to make clear that getting the type of an untyped Tree gives a Nothing, i.e. a run-time error. Gett…

  11. comment
    Comment #9748014

    It's much older than that. See https://en.wikipedia.org/wiki/Futures_and_promises The distinction between futures and promises in the wikipedia article matches Scala's terminology …

  12. comment
    Comment #9393753

    You realize that the sender of this post (a) has been banned from all Scala mailing lists (b) has become one of the strongest Scala haters since?

  13. comment
    Comment #9393749

    People who actually use Scala love it. For instance, Scala is one of the most loved languages in the recent StackOverflow developer survey. The survey had more than 26'000 responde…

  14. comment
    Comment #9268612

    We have data to contradict this argument: Over 400'000 people have enrolled in an online Scala course with a success rate twice the industry average. "Almost vertical learning curv…

  15. comment
    Comment #9220481

    I think you got that wrong by a factor of 10. I get between 500 and 1000 lines / sec on my laptop. It depends on the code style. The more straightforward the code the faster the co…

  16. comment
    Comment #9220316

    The one line per minute was observed when trying to compile a query over an HList backed record with more than 300 columns. The problem was a polynomial increase of the size of the…

  17. comment
    Comment #9108023

    I think the Twitter school is pretty up-to-date. Scala-by-Example is older. There are also a large number of good books teaching Scala. I believe it's worth investing in one or two…

  18. comment
    Comment #8699227

    Class types are generative. That's why p.V != q.V.

  19. comment
    Comment #8366889

    There is a lot of interest in research on the benefits of static vs dynamic typing. But unfortunately there is not a lot of hard data. There were some experiments, e.g. http://dl.a…

  20. comment
    Comment #8313259

    The Scala community is, and always has been, quite heterogenous. There's a vocal, and sometimes quite abrasive group of fundamentalists on HN and Twitter. But the Scala community i…

  21. comment
    Comment #8101057

    I completely agree. We'll try to make the boundary between old and new versions as flexible as possible and both lint tools and language imports will be an important part of that. …

  22. comment
    Comment #7427601

    Well, then maybe the beginners do it right? You have not argued against my two points: It's much slower, and less clear.

  23. comment
    Comment #7427297

    I think that's a pretty extreme position. First, it will run a lot slower than the pattern matching alternative: optional match { case Some(x) => whatever(x) case None => fallback …

  24. comment
    Comment #7352852

    What complicated things were aded 2.10 that do not require the -experimental flag to be set? Experimental means what the name implies. An experimental feature can disappear or chan…

  25. comment
    Comment #7062529

    Just to avoid any misunderstandings: The linked page is a (very nicely done) joke. These are not Scala operators, but (by now retired) operators of a particular third party library…