3 ms·
I'm going to flag this submission. This is horrible Stack Overflow post with bad answers. Languages have different types of "enums". Enums in languages like Ru
by echelon 5y ago
I'm going to flag this submission. This is horrible Stack Overflow post with bad answers.
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.
- couchand 5y agoThat's not what flagging is for?
- echelon 5y agoThis is really bad advice. 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.
- couchand 5y agoThen downvote. Flagging an article you simply disagree with wastes the moderation team's time.
- gary_0 5y agoYou can't downvote submissions on HN. From https://news.ycombinator.com/item?id=24123981 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 https://news.ycombinator.com/newsfaq.html but I wish it went into more detail about what the HN norms are regarding upvoting/downvoting/flagging.
- chunkyfunky 5y agoI would have thought the tags on the question make it pretty clear it isn't dealing with languages like Rust.