this post was submitted on 17 Sep 2024
411 points (97.7% liked)

Programmer Humor

19512 readers
329 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
[–] sbv@sh.itjust.works 65 points 1 month ago (12 children)

I love shitting on Python, but I feel like all those problems are present in libraries for other languages as well. There's a tonne of that crap for JS/TS.

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.

[–] aspensmonster@lemmygrad.ml 4 points 1 month ago (2 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 1 month ago (1 children)

It’s one of the macro_rules!

[–] kjaeselrek@lemmy.ml 1 points 1 month 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.

load more comments (9 replies)