You are viewing a single thread.
View all comments
20 points

Document your code like the guy who will be maintaining it is Dexter, and he knows where you live.

permalink
report
reply
15 points
*
// This function calculates applicable discounts given a customer's loyalty status
// STOP BEFORE SEASON 8 DEXTER PLEASE 
fun calculateDiscountRate(loyalty: LoyaltyStatus): Set<Discount> {
    // No seriously you can hide out at my place if you need to just please don't let them do it 
...
permalink
report
parent
reply
7 points

That ... at the end made me think there was more code and my client was refusing to show it to me no matter what I did.

permalink
report
parent
reply
2 points

And don’t watch that new dexter spin off

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

    Monthly active users

  • 885

    Posts

  • 9K

    Comments

Community moderators