Comment

Comment by mock-possum

Whoa that’s wild.

> Note: There're no break statements at the end of each when clause. Unlike other languages, Ruby's case doesn't fall through.

Aw no fall through?

> Note: Do not use obj.class in the case clause, as Integer === Integer returns false.

Wait what

parent mock-possum 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton