News for hackers. Stuff that matters.

pfn

Re:Dotty: a next generation compiler for Scala on Wednesday June 22, 2016 @01:41PM (#11955647)
because gradle is slow, and the dsl is a disaster compared to sbt
Re:Dotty: a next generation compiler for Scala on Wednesday June 22, 2016 @01:40PM (#11955641)
actually, the latter is far more readable without markup making my eyes bleed.

I generally prefer gradle's method of 'com.foocorp:foo:1.2' but that isn't acceptable statically. scala string interpolators could make it a thing, though.

Re:N-queen puzzle in 4 lines of Scala on Monday April 11, 2016 @04:58PM (#11475045)
permutation, mapping, zipping and filtering are all completely idiomatic scala.

There is next to no cognitive load in this 4-line solution. Brute-force attack on every permutation. I would say that anyone find there to be an excessive cognitive load would be someone that is not familiar with scala nor functional programming.

Android Market is kind of a walled garden

HoneyBar is an app that allows rooted users on Honeycomb devices to hide their system status bar.Numerous users have asked Google to implement this feature, yet they refuse to do so, saying that it "works as intended" (http://code.google.com/p/android/issues/detail?id=15408)A third-party developer, me, submitted a program to Android Market that allows users to hide their status bar by tapping...

( Read More... | 1 comment | on HN )