☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agoMight as well have been written by an alienlemmy.mlimagemessage-square16fedilinkarrow-up1329arrow-down110
arrow-up1319arrow-down1imageMight as well have been written by an alienlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square16fedilink
minus-squareRalphWolf@lemmy.calinkfedilinkEnglisharrow-up20·1 month agoDocument your code like the guy who will be maintaining it is Dexter, and he knows where you live.
minus-squareAurenkin@sh.itjust.workslinkfedilinkarrow-up16·edit-21 month 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-up6·1 month 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.And don’t watch that new dexter spin off