1. Getting To Know Scala: Project Euler Primes

    Prime numbers are not my thing, but generating them is a common task in the early Project Euler problems. The one algorithm I know for generating primes is the Sieve of Eratosthenes, which I defined in Scala as:

    [sourcecode lang="scala"]
    def successor(n : Double) : Stream[Double] = Stream.cons(n …

    read more
  2. Knowing Scala (Intermission)

    I'm getting to the point in my Scala understanding where I'm making small commits to our Very Important Project at work. I ended up wasting four hours of work the other day because I put stuff in the wrong place and then spent a lot of time reorganizing things. In …

    read more

Page 1 / 1

blogroll

social