Live Typing: Automatic Type Annotation that improves the Programming eXperience
Talk from ESUG 2019, Cologne, Germany
Hernan Wilkinson
http://www.10pines.com
Slides: https://www.slideshare.net/esug/live-typing-automatic-type-annotation-that-improves-the-programming-experience-188550637
LiveTyping automatically annotates variables' types based on the objects assigned to them, and method's return types based on the returned objects. It does it while the system runs due to small changes made to the VM. With the annotated type information the tools can be greatly improved, boosting the programming experience and opening a new way of thinking about the Smalltalk's tools.
LiveTyping allows to look for actual senders based on the receiver's type, rename messages based on the actual senders and implementors without making a manual and error prone filtering of them, delete methods based on actual senders, autocomplete code as in statically typed languages and help the programmer to understand the types of objects when reading code, among many other advantages. It does it without loosing any of the dynamic characteristic we all love of Smalltalk and with an unnoticeable performance hit.
In this talk I will show the changes made to the VM, how it compares to similar approaches, how the type information is stored in the image and how the tools take advantage of that information showing concrete and useful day to day examples.
Finally, I'll share with you what I conceptually learned implementing LiveTyping and why type information should be handle fundamentally different in dynamically typed languages compared to statically typed ones.
Bio:
Hernan Wilkinson is a passionate programmer. Smalltalk lover. Founder of 10Pines and FAST (Argentine Foundation of Smalltalk). Professor at the University of Buenos Aires. Teaches OO and Agile techniques at the university and the industry. Key Note Speaker of many national and international conferences. Contributes to many Smalltalk open source projects. Promotes horizontal organizations and agile methodologies. You can follow him in Twitter at @hernanwilkinson
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Live Typing: Automatic Type Annotation that improves the Programming eXperience», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.