News for hackers. Stuff that matters.
Re:Swift is a more convenient Rust by Zak on Saturday January 31, 2026 @08:21PM (#46842718)
> Except this switch statement is actually not a switch statement at all. It’s an expression. It doesn’t “fallthrough”. It does pattern matching. It’s just a match expression with a different name and syntax.

Giving a familiar name to a concept which behaves in familiar ways some of the time and surprising ways other times seems like a dirty trick to me, not a convenience.

There are no comments on this comment yet.