by echelon · 5y ago · 0 comments
Languages have different types of "enums". Enums in languages like Rust are extraordinarily powerful sum types that create compact memory footprints, strong compile time guarantees, and can form the basis of expressive and correct state machines.
Enums (sum types) are one of the best patterns.
While the commentary in this HN thread is good, those that click the link directly and don't know any better will be misinformed.
I seems bad to let this stay on the front page.
From https://news.ycombinator.com/item?id=24123981 user 'pwg' says:
> Flagging is the closest to a "dislike" option available. But it is suggested to use it for items that are off topic.
> The better way to make sure items you find to be "positive" make the front page is to upvote everything you think deserves to get there. Upvote the positive, ignore the negative, and the negative will fade from view.
Officially, there's https://news.ycombinator.com/newsfaq.html but I wish it went into more detail about what the HN norms are regarding upvoting/downvoting/flagging.