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

Nothing to test? Lol what.

def add(a: int, b: int) -> int: return a * b

All types are correct. No side effects. Does the wrong thing.

permalink
report
parent
reply
5 points

Maybe it’s doing the right thing but is badly named

permalink
report
parent
reply
6 points

Maybe the it’s the English language that is wrong?

permalink
report
parent
reply
4 points
*

Old and busted: Fix the function

New hotness: Redefine enough words in the English language such that the function is now correctly implemented

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.3K

    Monthly active users

  • 1.5K

    Posts

  • 33K

    Comments