☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 months agoMight as well have been written by an alienlemmy.mlimagemessage-square16fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageMight as well have been written by an alienlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 months agomessage-square16fedilink
minus-squareRalphWolf@lemmy.calinkfedilinkEnglisharrow-up0·4 months agoDocument your code like the guy who will be maintaining it is Dexter, and he knows where you live.
minus-squareAurenkin@sh.itjust.workslinkfedilinkarrow-up0·edit-24 months ago// This function calculates applicable discounts given a customer's loyalts status // STOP BEFORE SEASON 8 DEXTER PLEASE fun calculateDiscountRate(loyalty: LoyaltyStatus): Set<Discount> { ...
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up0·4 months 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 loyalts 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