Droidcon Montreal Ryan Harter - Efficient Architecture: Strategies for Reusable Code
Droidcon had its first Canadian edition on April 9-10, 2015 in Montreal.
It was organized by Mirego http://www.mirego.com/en
Straight from Chicago, Ryan shared all his experience of creating reusable code with us. Check it out.
Efficient Architecture: Strategies for Reusable Code:
Many development companies that I have worked with have been in search of the holy grail of programming, the "Reusable Library". The goal is to find a way to stop repeating themselves by creating libraries to perform common tasks, thereby saving development effort and dollars.
This is a common, and noble, goal, but all too often people come up short. They spend too much time worrying about the library and never experience the time savings they were promised. Or worse, they create a library that no one uses.
I have learned some important lessons to consider when creating libraries, which I will cover in this session. I will describe strategies to identify good candidates for re-usability, how to create requirements to make the library useful, and steps to limit scope and ensure the library is useful without getting in the way. Then I will discuss the importance of documenting reusable components, and treating the library like a client project.
Over the last year I’ve built many high profile apps that share large components, yet still look unique and include differing behavior. By following the above strategies, I've been able to ensure that I'm not wasting time over-architecting one-time-use components, while keeping my reusable pieces flexible enough to be useful and save time.
- Ryan Harter
Ryan Harter is a freelance Android developer, and Google Developer Expert, who’s been developing Android apps for over 5 years. He creates high quality apps that users love, like Fragment and Shift. When not coding, or writing about coding, Ryan enjoys playing guitar, snowboarding or skateboarding, depending on the Chicago weather, or spending time with his wife and dogs.
Видео Droidcon Montreal Ryan Harter - Efficient Architecture: Strategies for Reusable Code автора Математические танцы
Видео Droidcon Montreal Ryan Harter - Efficient Architecture: Strategies for Reusable Code автора Математические танцы
Информация
21 января 2025 г. 1:51:45
00:41:45
Похожие видео