Type lambdas and kind projector

Scala developers might have heard of “type lambdas”, a fairly horrendous-looking construction that sometimes appears in code using higher-kinded types. What is a type lambda, why would we ever want to use one, and even better, how can we avoid having to write them? In this blog post we tackle these questions.

Continue reading…

Value Discarding

Scala includes a feature called “value discarding”. This interacts in possibly surprising ways when combining functions that side effect. In this post we’ll look at an example, and describe ways to work safely with value discarding.

Continue reading…

Scala and 22

Back in 2014, when Scala 2.11 was released, an important limitation was removed: “Case classes with > 22 parameters are now allowed”. This may lead you to think there are no 22 limits in Scala, but that’s not the case. The limit lives on in functions and tuples. This post explores the limit, looks at an example from Slick, and notes two ideas for what you can do about it.

Continue reading…

Giving a First Talk

Underscore is supporting new speakers at Scala eXchange. Last year, Danielle Ashley gave her first Scala eXchange talk, and in this guest post, she writes about her experiences.

Continue reading…

How You Can Help Bring New Speakers and New Ideas to Scala eXchange 2016

The Scala eXchange 2016 conference is taking place in December, in London. The call for papers is open. We know you’re going to hear from some great established speakers, but we also want to make sure new voices are heard. New speakers increase the diversity of experiences, ideas, approaches, and interests. We can all benefit from that.

In this post, we’ll tell you how we’re helping new speakers. We need your help too.

Continue reading…