That giant mess of
statements keeps staring you in the face. You feel like you should
be able to simplify it, except for that Business Logic that keeps getting in the way. For example, say you have a sales platform where you build
, which have many
. Except, you can have a quote with duplicate line items if they’re ads
, but if you have multiple websites
, you have to sum the prices together and have it show up as a single line item. Oh and also, if you buy a website and already have five ads in your quote, you have to give them a 20% discount on the website.
I can hear you throwing your laptop through the window from all the way over here.