Lea Verou on Nostr: The advice I give most frequently to junior devs is to resist the urge to jump ...
The advice I give most frequently to junior devs is to resist the urge to jump straight into implementation. Use the API first. Write out a few code snippets that use the API for common use cases. How does it feel? Can the user express their intent without friction and boilerplate?
It seems obvious, but it's striking how many times it's not followed, even by devs that have heard this many times before.
API design is just UI design with different constraints; putting user needs first pays off.
It seems obvious, but it's striking how many times it's not followed, even by devs that have heard this many times before.
API design is just UI design with different constraints; putting user needs first pays off.