Comment

Comment by accatyyc

In Objective-C (and some other languages with ternary operators) the same can be written like this:

    int a = b ?: c ?: 0
parent accatyyc 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton