What is Nostr?
Lea Verou /
npub1m6e…yan3
2024-03-27 14:25:56

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.
Author Public Key
npub1m6e8q4lxpwxhjcczsjfsnf79g24pcuvppzlysycgdh40jyualamqapyan3