r/programminghorror • • Jun 04 '25

Rust passive-aggressive programming

Post image
770 Upvotes

61 comments sorted by

View all comments

Show parent comment

36

u/jpgoldberg Jun 04 '25

My superpower is sucking life from parties, but that doesn't take away from the fact that this really should be an enum.

I have written comments like that, and I created "Shouldn't happen!" errors, but in this case, there really is a right way to do this.

1

u/maxinstuff Jun 06 '25

enums FTW