☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoMight as well have been written by an alienlemmy.mlexternal-linkmessage-square6linkfedilinkarrow-up162arrow-down11
arrow-up161arrow-down1external-linkMight as well have been written by an alienlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square6linkfedilink
minus-squareRalphWolf@lemmy.calinkfedilinkEnglisharrow-up3·1 year agoDocument your code like the guy who will be maintaining it is Dexter, and he knows where you live.
minus-squareAurenkin@sh.itjust.workslinkfedilinkarrow-up2·edit-21 year ago// This function calculates applicable discounts given a customer's loyalty status // STOP BEFORE SEASON 8 DEXTER PLEASE fun calculateDiscountRate(loyalty: LoyaltyStatus): Set<Discount> { ...
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up1·1 year agoThat ... 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.
Document your code like the guy who will be maintaining it is Dexter, and he knows where you live.
// This function calculates applicable discounts given a customer's loyalty status // STOP BEFORE SEASON 8 DEXTER PLEASE fun calculateDiscountRate(loyalty: LoyaltyStatus): Set<Discount> { ...
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.