89 points

Remove these blank lines.

I’m not seeing unit tests for this.

Unnecessary comment.

BLAM

Ow! Also, this could’ve been a smaller calibur.

permalink
report
reply
1 point

The second one is very valid. Please do not waste my time without having a prove about your functionality.

permalink
report
parent
reply

LGTM (lunatic gunner targeting me)

permalink
report
reply
9 points

it’s me I’m lunatic gunner

permalink
report
parent
reply
43 points

I have either written or gotten a variant of every single one of these comments 🫠:

Please include the JIRA task in the commit title.

Did you run any manual testing?

Where’s the PRD link in the commit message?

Can you please split this into multiple smaller commits?

Can you combine these two commits?

Did you email Jon about this because he’s working on that project with Sarah and you might be duplicating efforts.

This should be named BarFoo instead of FooBar.

Why aren’t you using CorporateInternalLib16 that does 90% of this?

Why aren’t you using ThirdPartyPaidLibByExEmployee?

Why aren’t you using StandardLib thing you forgot existed?

All our I/O should be async.

All our hot loop code needs to be sync.

This will increase latency of NonCoreBusinessFlow by 0.01%. can you shave some time off so we can push in feature B also?

Please add a feature flag so we can do gradual rollout.

What operational levers does this have?

Lgtm - just address those comments

permalink
report
reply
26 points

I dunno, plenty of those sound pretty reasonable.

permalink
report
parent
reply
2 points

Mostly, yes.

I’d like to find a better way to phrase "why aren’t you . . . " questions. It carries an accusatory tone in text, even if you don’t intend that. The answer is almost invariably going to be either “I didn’t know it existed” or “because reason X”. Neither case justifies the accusatory tone. Maybe if the “I didn’t know it existed” answer was something so basic that they really should have known it existed, but probably not even then.

permalink
report
parent
reply
3 points

My preferred variation of this is to make it an open question that leaves them in the position of authority, and assumes that they made a deliberate decision.

For example, instead of “Why aren’t you using StandardLib that does 90% of this?”, I would try “Could this be achieved with StandardLib? Seems like it would cover 90% of this”.

permalink
report
parent
reply
25 points

lgtm

permalink
report
reply
23 points

lunatic girl threatening me

permalink
report
parent
reply
7 points

Let’s gamble, try merging

permalink
report
parent
reply
22 points

“Did you run the formatter on this?”

Bonus points if it’s python code and nowhere in the docs does it say which of the many formatters to use.

permalink
report
reply
4 points

Just make another PR where you add formatter instructions to the readme and pyproject.toml.

permalink
report
parent
reply
2 points
*

Use black and pray

permalink
report
parent
reply
5 points

I’m fond of ruff lately. Pretty much the same as black, but it just comes with the linter instead of being separate tools.

permalink
report
parent
reply
2 points
*

👀 I’d fine-tuned (copied and pasted) a pylint setup that had some of black, what are the differences?

Edit: it’s so much faster than black, I’m switching

Edit2: used it today, faster and I like the linter. It also does some multi-line parentheses better imo

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.4K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments