3 ms·
>So if I don't understand what you wanted to convey that's my fault, and if you don't understand what I wanted to convey that's also my fault? I wanted to conv
by corethree 3y ago
>So if I don't understand what you wanted to convey that's my fault, and if you don't understand what I wanted to convey that's also my fault?
I wanted to convey it's your fault for what? The only thing I wanted to convey was that you're wrong. If you have a real point then I'm not understanding it, that is your fault because it's a shitty explanation. Barring the shitty explanation if that's not the case then you're basically just wrong. But I'm open to the fact that you're just bad at explaining stuff.
Third party guy doesn't know what he's talking about. He's running some statistical algorithm in the web app. You know what statistical algorithms do right? They do massive compilations of data points. Huge averages and aggregations. He's calling that "business logic" lol and he's implying he puts it in the web app.
But that's the correct thing to do according to your misguided thinking.
Want to find the average price of all products being sold by an ecommerce website?
This is your genius architecture in the web app:
//BUSINESS LOGIC!
def handleRoute(request: Request) -> Response:
result = 0
for i in range(100):
result += query(f"SELECT price FROM PRODUCTS WHERE PRODUCTS.ID = {i}")
return Response(result)