• RalphWolf@lemmy.ca
    link
    fedilink
    English
    arrow-up
    22
    ·
    5 months ago

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

    • Aurenkin@sh.itjust.works
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      5 months ago
      // 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 
      ...
      
      • NeatNit@discuss.tchncs.de
        link
        fedilink
        arrow-up
        8
        ·
        5 months ago

        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.

      • Anna
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        And don’t watch that new dexter spin off