this post was submitted on 17 Sep 2024
405 points (97.6% liked)

Programmer Humor

19623 readers
1345 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] aspensmonster@lemmygrad.ml 4 points 2 months ago (1 children)

Similarly, I find a fair number of Rust crates (that I want to use) have virtually no doc or inline examples, and use weird metaprogramming that I can’t wrap my head around.

Is it really a true rust crate if it doesn't contain at least one inscrutable macro?

[–] kjaeselrek@lemmy.ml 4 points 2 months ago (1 children)

It’s one of the macro_rules!

[–] kjaeselrek@lemmy.ml 1 points 2 months ago

Not even one full day after posting this and here I am debugging one of my own inscrutable macros for a version upgrade lmao.