Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Apple Developer Documentation Is Missing. Parent comment
In some languages, you simply write:
if (user) nameLabel.text = user.name; else nameLabel.text = "Guest";
nameLabel.text = user.name if user else "Guest"
There are no comments on this comment yet.
In some languages, you simply write:
Or: Or anything along those lines. Concise, clear, no need for an extra operator.