Over a million developers have joined DZone.
Platinum Partner

Hipster Scala Features

· Performance Zone

The Performance Zone is brought to you in partnership with New Relic. Quickly learn how to use Docker and containers in general to create packaged images for easy management, testing, and deployment of software.

I’m a big fan of Scala, but there are some features I try to steer clear of like covariant or contravariant generics, or excessive use of operator overloading to construct nifty DSLs which look as if a cat walked over your keyboard.

Yesterday a situation like that came up where @thinkberg was looking at my code and said “uh, you’re using +T in a generic”, and I said “that’s a hipster feature of Scala, you don’t need to understand it, you just need to get it right so your code compiles.”

I posted this on Twitter which lead to the comments below. Sometimes I just loooove Twitter ;)

The Performance Zone is brought to you in partnership with New Relic. Read more about providing a framework that gets you started on the right path to move your IT services to cloud computing, and give you an understanding as to why certain applications should not move to the cloud.

Topics:

Published at DZone with permission of Mikio Braun , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}