513
you are viewing a single comment's thread
view the rest of the comments
[-] 5C5C5C@programming.dev 16 points 2 weeks ago

It's incredibly disingenuous to call this average Rust code and further erodes your credibility. I may as well point to hundreds of lines of preprocessor macros in a C++ header and call it average C++ code.

This is not what an average Rust developer is writing 99% of the time. If someone on my team submitted a PR with an implementation of sum that uses macro_rules! I would almost certainly reject it.

this post was submitted on 17 Dec 2025
513 points (95.9% liked)

Programmer Humor

28257 readers
1287 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