Pragmatism is more important than 'purity'
You don't always need the most correct thing. Sometimes you need something that works now. Additionally, each app you build has unique constraints and requirements. You do your best to build the simplest solution that satisfies the requirements while ensuring you do not paint yourself into a corner. Even when it comes to these principles, some level of pragmatism is necessary in their application.
Examples
- Instead of building a custom solution to handle payments, you integrate Stripe with its ready-made UI components. While it may not be perfectly tailored to your application, it gets the job done quickly and saves you from implementing complex security measures from scratch.
- When testing a user experience that relies on an animation, you mock out the animation to speed up the test even though you want to avoid implementation details in your tests.
Share this principle