You are viewing a single thread.
View all comments View context
38 points
*

Hey man, I once had an engineering exec (who didn’t last very long) who decided engineers would be stack ranked by SLOC. You can imagine how easy that metric was to cheese, and you can also imagine exactly how that policy turned out.

Give an engineer a stupid metric to meet, and they’ll find a stupid way to meet it for you, if only out of malicious compliance.

permalink
report
parent
reply
16 points
*

I’d have a field day with that. Max line length 70 or 75, excessively verbose function and variable names, triple the normal amount of comments, extra whitespace wherever possible, tab width 8, etc. The possibilities are endless for that metric.

permalink
report
parent
reply
3 points

Dude… Just write a python script that makes small changes to white space every few seconds and commits them.

permalink
report
parent
reply
3 points

When metrics become targets they fail to be metrics any more

permalink
report
parent
reply
2 points

Campbell’s law goes brrrrr.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.7K

    Monthly active users

  • 810

    Posts

  • 13K

    Comments