3
jonii
6y

Me: "How could I handle all these conditions? Would I be somehow able to implement them in the database so my code could just grab it there?"

Mentor: "No, that would be impossible"

Me: "Oh how about I just save them as a valid question in the db and the user will have to answer!"

Mentor: "No, you're supposed to automate that process for the user."

Guess I have to hard code it and can't rely on the good old humans.

Comments
  • 0
    Now I'm curious as to what the conditions are 😊
  • 0
    @Hakash it's a tool for invoices and the conditions are for discounts, e.g. "is recipient self employed" or "discount is given up to 250€"
  • 0
    @jonii and how would you know if someone is self employed if they don't tell you / you store it? Api to lookup the company they registered?
  • 0
    @Hakash we have that information
  • 0
    @jonii oh, thought you said you didn't have it in db and could not ask for it 😊 my bad 😁
Add Comment