Settings

Theme

Design Notes: Local Lifetimes for Kotlin

github.com

1 points by LelouBil a month ago · 1 comment

Reader

LelouBilOP a month ago

I always thought that Rust lifetimes (and the affine types) are really useful to prevent logical bugs.

Instances are usually related to one another, and with lifetimes the relation is explicit and checked by the compiler, so I am very happy to see something like this in Kotlin.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection