this post was submitted on 02 Aug 2024
317 points (96.8% liked)

Programmer Humor

32481 readers
216 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
[–] RalphWolf@lemmy.ca 20 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.

[–] Aurenkin@sh.itjust.works 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 
...
[–] AnnaFrankfurter@lemmy.ml 2 points 3 months ago

And don't watch that new dexter spin off

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