il y a 7 ans805 views
Reusable Code, for good or for awesome! (Jake Archibald)
In this talk we'll cover testing, code structure, working with compressors, documentation, measuring performance, but concentrating on API design.
The API is make-or-break when it comes to reusable code. It's the API that lets other developers use your application, if it's difficult to use then they won't get the most out of what you've written.
We'll analyse existing APIs, looking at where they fail and where they succeed, looking at what patterns they use and how users react to them.
By looking at the wins and fails in the real world, we can discover what makes code a pleasure to use and reuse.
Intégrer la vidéo