From a5e1e28ba138b966605f85504014d4c192b6674e Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Mon, 24 Jun 2024 17:44:16 +0200 Subject: [PATCH] Update philosophy.mdx --- src/docs/sdk/philosophy.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/sdk/philosophy.mdx b/src/docs/sdk/philosophy.mdx index cf05ed4ea9..36b9d2ae28 100644 --- a/src/docs/sdk/philosophy.mdx +++ b/src/docs/sdk/philosophy.mdx @@ -60,4 +60,4 @@ Being correct is important but even more important is doing the right thing. Yes ## Write less code -Only do in SDKs what can only be done in SDKs. Data quality is one of the most important things. Without it, we can't build a great product experience. The purpose of the SDK is to instrument the user's application, collect context around the event type we want to capture, and send it to Sentry. Any extensive business logic that does changes to the data should be avoided; the data should be sent as raw as possible. Business logic in SDKs is complex, hard to maintain and even harder to change, we have way more flexibility on the server. +Only do in SDKs what can only be done in SDKs. Data quality is one of the most important things. Without it, we can't build a great product experience. The purpose of the SDK is to instrument the user's application, collect context around the event type we want to capture, and send it to Sentry. Any extensive business logic that does changes to the data should be avoided; the data should be sent as raw as possible. Business logic in SDKs is complex, hard to maintain and even harder to change and becomes baked into the data forever. We have way more flexibility on the server.