HTML APIs: What They Are And How To Design A Good One






 



 


As JavaScript developers, we often forget that not everyone has the same knowledge as us. It’s called the curse of knowledge: When we’re an expert on something, we cannot remember how confused we felt as newbies. We overestimate what people will find easy.

HTML APIs: What They Are And How To Design A Good One

Therefore, we think that requiring a bunch of JavaScript to initialize or configure the libraries we write is OK. Meanwhile, some of our users struggle to use them, frantically copying and pasting examples from the documentation, tweaking them at random until they work.

The post HTML APIs: What They Are And How To Design A Good One appeared first on Smashing Magazine.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

20 + 7 =

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.