Author profile picture

October 11, 2017

Latest News at typealias

I’ve been exploring Kotlin’s generics over the past few weeks. Here are the latest articles:

explore

Kotlin does some nifty tricks to make it so that you can treat type parameters similarly to actual class names. Check out the latest guide, Getting Real with Reified Type Parameters to see how you can use them in your code today!

lightbulb_outline

If you want even more details about them, the concept article, Reified Type Parameters, has what you’re looking for.

More Kotlin News

check_circle

The news making the biggest splash this week has been Realm’s Q4 2017 report showing language trends for mobile developers, claiming that Kotlin is on its way to taking over the Android world.

favorite_border

Todd Ginsberg had a short, lighthearted article about Abusing Kotlin’s Unicode Support for Fun by adding Shruggy to your Kotlin code. Creative identifiers like this don’t seem to work on Android projects, but if you’re targeting good ol’ Java bytecode, give it a try!

date_range

Speaking of fun - here’s a fun article from hackernoon that uses infix functions to make a surprisingly readable for expression: Kotlin Iterate Through Everyday in this Year

Follow me on Twitter to catch the latest news throughout the week.

Share this article: