this post was submitted on 02 Aug 2024
336 points (96.9% liked)

Programmer Humor

32472 readers
982 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 3 months ago (3 children)

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

[–] [email protected] 15 points 3 months ago* (last edited 3 months ago) (2 children)
// 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 
...
[–] [email protected] 2 points 3 months ago

And don't watch that new dexter spin off

load more comments (1 replies)
load more comments (1 replies)