What is this about? I don't get the meme.
post
It always blows my mind that people actually watch these terrible content creators. Like how could anybody watch this guy or MrBeast and not immediately realize it's a shitty person. Not to mention the actually dogshit quality of the content to begin with lmao
But enumerators (aka. iterators) typically have nothing to do with enums, no?
Glances nervously at my own code using more and more enums now-a-days.
Please elaborate.
Enums in Rust are spicier unions, and Rust boosters like to paint it as the perfect way to do it, because it's the best language ever, with no faults. If you disagree, they'll try to frame you as a Lunduke fan and a bigot.
Never said that. In fact, enums have lots of issues that can add a lot of boilerplate code.
But actually having data associated with the type system instead of just a flag is a lot more powerful and less prone to errors than classic enums
You can also put functions on this union type that allows easy abstraction of what state the union is in
all 57 comments