JB Nizet
jbnizet.bsky.social
JB Nizet
@jbnizet.bsky.social
To me, it shows that optimizing performance is, most of the time, fixing a problem that doesn't exist.
I'm glad that Angular introduced all these signals-related changes, but mostly because of the improvements they bring in DX, not so much about the better performance they allow.
May 16, 2025 at 6:37 AM
Also, developers start from this idiom (kotlinlang.org/docs/idioms....), and then try to find a way to add an else block to it.
Idioms | Kotlin
kotlinlang.org
November 27, 2024 at 8:49 PM
What I mean is that `val foo = condition ? bar : baz;` is shorter than `val foo = if (condition) bar else baz;`, so developers tend to try to find (often less readable and more bug-prone) alternatives.
Idioms | Kotlin
kotlinlang.org
November 27, 2024 at 8:48 PM
The absence of the classic ternary operator in Kotlin is probably one of the reasons for this. One of the cases where Kotlin is more verbose than Java.
November 27, 2024 at 7:12 PM