this post was submitted on 24 Feb 2026
93 points (95.1% liked)
Programmer Humor
41127 readers
215 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you want to load at runtime you can use https://docs.rs/ron/latest/ron/. The structs are a weird combination of the two ways to define a struct in rust, making the ron notation of structs invalid rust, but having proper enums makes it worth it.