• 0 Posts
  • 143 Comments
Joined 1 year ago
cake
Cake day: July 6th, 2023

help-circle


  • Separating the trimmings from the rest of the waste isn’t the only thing that requires effort. I presume that the management doesn’t want to give ordinary employees the authority to just give stuff away, which makes sense. Even if it isn’t a problem in this specific case, it can be a problem because employees won’t always be knowledgeable or honest. Having management review what is being given away involves overhead, and deciding how much to charge you because of that overhead involves more overhead. I probably wouldn’t bother with all that if I ran the supermarket unless I really hated throwing things out, because I would assume you won’t be willing to pay enough to make it worth my time.














  • My issue with this is that it works well with sample code but not as well with real-world situations where maintaining a state is important. What if rider.preferences was expensive to calculate?

    Note that this code will ignore a rider’s preferences if it finds a lower-rated driver before a higher-rated driver.

    With that said, I often work on applications where even small improvements in performance are valuable, and that is far from universal in software development. (Generally developer time is much more expensive than CPU time.) I use C++ so I can read this like pseudocode but I’m not familiar with language features that might address my concerns.