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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 4 points 23 hours ago

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. 🫠