212
Code analyzer lore (lemmy.world)

This post was brought to you by this PMD rule.

Transcription

Why do we have this stupid code analyzer rule enabled anyway? Nobody writes code like this...

After telling them the lore why it's there:

You have seen such things before?

11 Times, as a matter of fact

you are viewing a single comment's thread
view the rest of the comments
[-] zea_64 2 points 3 days ago

These things add up if you're doing them all over a 1 million line codebase, by which point it's incredibly painful to claw back performance if you need it.

[-] ulterno@programming.dev 2 points 2 days ago* (last edited 2 days ago)

This seems like one of those cases where you don't want to be waiting until benchmarking.

It makes the code simpler anyway.

this post was submitted on 27 Mar 2025
212 points (100.0% liked)

Programmer Humor

22112 readers
546 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