this post was submitted on 19 Nov 2025
661 points (99.4% liked)
Programmer Humor
27409 readers
2039 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm currently prototyping a macro to help reduce boilerplate, as part of a more general library. And I'm doing some wild shit, like defining the fields of a data type from the parameter list of a function.
But then, yeah, what I'm now stuck on is that my generated code references a data type under one name, but it's actually got a different name in the public API. All the wild shit was smooth sailing, but a technicality now fucks me over. 🫠