Comment

Comment by froober

I really like rust's pattern matching and it's the feature I miss the most in other languages. However, I feel like its easy to encode too much control flow in one match statement and make a garbled mess. The first example in the article uses all the features (destructuring, @ sigil, inline if, etc.) which I think makes it unreadable.

Overall good article, but those large match statements are difficult to read.

parent froober 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton