Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Update philosophy.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT authored Jun 24, 2024
1 parent f2f04dd commit a5e1e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/sdk/philosophy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit a5e1e28

Please sign in to comment.