You must log in or # to comment.
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.
Document your code. Or even better in many cases, write more self-documenting code.
Is this going to activate the StarGate?
If I get off my computer for an hour and come back I’m already unable to recognize my code lol