Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Whats New in PHP 8.2. Parent comment
Having false and true be singleton types is perfectly cromulent.
That's how Smalltalk has been doing it for 40 years, and why it can do without control structures:
Boolean subclass: False [ ifTrue: trueBlock ifFalse: falseBlock [ ^falseBlock value ] "..." Boolean subclass: True [ ifTrue: trueBlock ifFalse: falseBlock [ ^trueBlock value ] "..."
There are no comments on this comment yet.
Having false and true be singleton types is perfectly cromulent.
That's how Smalltalk has been doing it for 40 years, and why it can do without control structures: