Comment

Comment by jillesvangurp

Nice, this is one of the features that makes using Kotlin with existing Java frameworks so nice. It can really cut down on the boiler plate Java is infamous for. You can define extension functions on any type, or type alias. So anything that looks like it could be shorter or is a bit repetitive, you just define an extension function to make that go away.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton