ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

"The Value of Docstrings" - Eric Appelt (Pyohio 2019)

Автор: PyOhio

Загружено: 2019-12-24

Просмотров: 306

Описание: Eric Appelt

https://www.pyohio.org/2019/presentat...

Python docstrings differ from regular comments in that they are stored
as an attribute of a callable object and are accessible through the
help() builtin function. However, their importance in writing
readable and maintainable python modules has very little to do with their
technical language features in Python, and much more to do with the
discipline they bring to effective documentation.

Any new developer will encounter well reasoned advice on the need to
comprehensively comment their code, and contrary but equally reasonable advice
to avoid using comments at all by writing better code. This talk will briefly
explore these viewpoints, and then review the standard conventions for Python
docstrings. I argue that the consistent and conventional use
of Python docstrings results in more readable and maintainable code than
that written with only unstructured comments, independent of how sparse or
plentiful those comments may be.

Additional areas of improvement in software design are discussed, including
effective encapsulation, the difficulty of naming methods, "docstring driven
development", extension into external documentation, and integration with testing.
Finally, I argue that Python
docstring conventions are a model for improved software design in general,
and are worth adopting even in other languages that do not necessarily
support actual docstrings.

Docstrings are a common convention in Python programming, but
their value may be taken for granted. In the absence of docstrings, schools of thought on writing effective code involve using many comments or using few if any comments. I will
argue that docstrings improve upon these approaches, and then explore how they can positively impact encapsulation, testing, documentation, and design.

===
https://pyohio.org

A FREE annual conference for anyone interested in Python in and around Ohio, the entire Midwest, maybe even the whole world.

Produced by NDV:    / @nextdayvideo  

Sat Jul 27 15:45:00 2019 at Barbie Tootle

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
"The Value of Docstrings" - Eric Appelt (Pyohio 2019)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Прекратите создавать некрасивые API: используйте шаблон проектирования Fluent Interface.

Прекратите создавать некрасивые API: используйте шаблон проектирования Fluent Interface.

Adaptix vs Pydantic: или почему код на Python может работать быстро? / Python Mentor Podcast #3

Adaptix vs Pydantic: или почему код на Python может работать быстро? / Python Mentor Podcast #3

"Tune-Up Your Knowledge: A Beginner's Journey Under the Hood of Search Engines" - Eddie Mitchell

Крупное обновление GO 1.26

Крупное обновление GO 1.26

Design Patterns

Design Patterns

Bringing Ideas to Life with DIY IoT: Visualizing Noise Pollution with a Raspberry Pi and Python

Bringing Ideas to Life with DIY IoT: Visualizing Noise Pollution with a Raspberry Pi and Python

Всего 40 строк кода

Всего 40 строк кода

A Very Brief Overview of Python’s “Lang” AI Tools and Two Low-Code GUI AI Tools: Flowise and n8n

A Very Brief Overview of Python’s “Lang” AI Tools and Two Low-Code GUI AI Tools: Flowise and n8n

Чистая АРХИТЕКТУРА GOLANG — ультимативный гайд на реальном проекте [за 3 часа]

Чистая АРХИТЕКТУРА GOLANG — ультимативный гайд на реальном проекте [за 3 часа]

🌟 Jest WZOREM dla pokolenia łyżwiarek figurowych 🇵🇱 Katia Kurakowa

🌟 Jest WZOREM dla pokolenia łyżwiarek figurowych 🇵🇱 Katia Kurakowa

🐀 КРЫСА ЗАГНАНА В УГОЛ: женевская подмена Зе-КАПИТУЛЯЦИИ. Метамодерн Трампа. Шлем БЕЗБОЖНИКА - Щелин

🐀 КРЫСА ЗАГНАНА В УГОЛ: женевская подмена Зе-КАПИТУЛЯЦИИ. Метамодерн Трампа. Шлем БЕЗБОЖНИКА - Щелин

Последняя соломинка — как Рэдинг 1980 вытащил Slade со дна

Последняя соломинка — как Рэдинг 1980 вытащил Slade со дна

Detecting Road Conditions from Space Using PyTorch, Public Data, and Free Satellite Imagery

Detecting Road Conditions from Space Using PyTorch, Public Data, and Free Satellite Imagery

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

Мировое правительство: Версия без мифов / Уроки истории / МИНАЕВ

Мировое правительство: Версия без мифов / Уроки истории / МИНАЕВ

Google увольняет, Нейросеть для умерших, Суверенный европейский процессор | Как Там АйТи #86

Google увольняет, Нейросеть для умерших, Суверенный европейский процессор | Как Там АйТи #86

ЛИПСИЦ ШОКИРУЕТ: Газпром УМЕР, нефть в минус — 3 месяца до коллапса РФ!

ЛИПСИЦ ШОКИРУЕТ: Газпром УМЕР, нефть в минус — 3 месяца до коллапса РФ!

Титульный вторник | 17 февраля

Титульный вторник | 17 февраля

Developing a System Maintenance Plan and Utilizing Python to Aid in System Maintenance

Developing a System Maintenance Plan and Utilizing Python to Aid in System Maintenance

Арестович: Зеленский хочет пересидеть Трампа, а потом Путина?

Арестович: Зеленский хочет пересидеть Трампа, а потом Путина?

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]