While software libraries avoid re-inventing the wheel, using their Application Programming Interfaces (APIs) is not always straight forward. This is especially true when there are implicit undocumented expectations on how to use the API. Building on years of research in the area of API misuse detection, this talks presents a way to create an automated continuous conversation between API designers and API users. By mining lots of examples of how an API is used in practice, API designers get a starting point for authoring usage rules for how they expect developers to use their APIs. These rules are then automatically encoded into checks that client developers can use to ensure they are correctly using the library. Check https://sarahnadi.org/smr/api-misuse/ for more details and related tools.
Sarah Nadi is an Associate Professor in the Department of Computing Science at the University of Alberta, and a Tier II Canada Research Chair in Software Reuse. She obtained her Master's (2010) and PhD (2014) degrees from the University of Waterloo in Canada. Before joining the University of Alberta in 2016, she spent approximately two years as a post-doctoral researcher at the Technische Universität Darmstadt in Germany.
Sarah's research provides automated support tools that help software developers accomplish their tasks more efficiently. Her recent work focuses on supporting developers as they use software libraries, including the initial selection process, correctly using the library's API, and potential migration to newer alternative libraries. Sarah leads the Software Maintenance and Reuse (SMR) lab at the University of Alberta. For more information about the work we do at SMR, please visit https://sarahnadi.org/smr/.
Presented at the "It Will Never Work in Theory" miniconf at Strange Loop 2022. https://neverworkintheory.org/events/...
------- Sponsored by: -------
Stream is the # 1 Chat API for custom messaging apps. Activate your free 30-day trial to explore Stream Chat. https://gstrm.io/tsl
Смотрите видео "It's Not You, It's the API: Automatically Avoiding API Misuses" by Sarah Nadi онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Strange Loop Conference 31 Октябрь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 4,358 раз и оно понравилось like посетителям.