Constraint are good

Most people think about constraint in a bad way

I think constraint is good for many reasons

Constraints gives you a limited set of options to perform or use.

GraphQL is better than REST because it has more constraints, you can’t do everything you want in GraphQL.

You can’t ask any data, and you can’t return any data. You need to think first in the structure of the data that you want to expose to end users.

Declarative provides a limit set of operations that you can perform.

When you move to imperative you can do anything, but I argue that you should avoid this to reduce complexity.

K8s declarative yaml are better than CDK before you can’t do everything you want in your infra.

So it is easier to maintain in the long run.

Avoid trying to fix all edge cases in the low level building blocks.

Constraints limits complexity as you need to work with a limited set of options.

Constraints limit the number of Abstractions that you can use.

Design System are constraints for your product UI, it does not let you do everything, as you want to keep consistency

Constraints are about consistency.

Habits are constraints to your daily life to make your more productive

Constraints are about less choices

Letting tools make decisions for you (Defer Understand )

Building Block gives you a limited set of basic blocks to work on, if you need something that is not available in any block you have 2 options:

  1. create a new block increasing complexity
  2. try to rethink your current needs
Links to
  • Abstractionsblock An abstraction is something that helps us An abstraction can help build concrete things twitter thread React is the abstraction to build UI using components D3 is the low…
  • Design SystemDesign system contain the building blocks of UI elements/atoms to build your product UI It should allow extensions using functional CSS Design system should define list of fonts…
  • Defer UnderstandDefer is when you let something to do in the future When learning something you don’t need to understand everything related to it You can defer some parts to the future When…
Shares tags with
  • "Simple" PagesA call "simple" pages: landing pages, blog posts, simple websites. These "simple" pages have a high level complexity of CSS and animations, 2 skills that I'm not so good yet,…
  • Architecture of Open Source
  • Core APIBuilding Block Core API of any package should be very tiny A tiny API is easier to reason about it A tiny API is easier to maintain A tiny API is easier to learn Add extensions…
  • CSSAvoid having too much CSS/styles in the product code Your Design System should use functional css to make it possible to extend it Your design system should have constraints to…
  • CSS PracticeI've decided to practice converting some landing page and design to code This master will help me be a better css coder Smart Home System VPN landing page Final Version Links Luan…

Sign in with GitHub to reply.

Select any passage to quote it.

Comments