Русские видео

Сейчас в тренде

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


Скачать с ютуб Why I don't like Python's chained comparisons в хорошем качестве

Why I don't like Python's chained comparisons 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Why I don't like Python's chained comparisons

Are multiple comparisons unintuitive or am I out of touch? Python allows multiple comparisons chained together in the same expression. They have their uses, but the chaining can become confusing when operators of different types are mixed. Why is it that less than and greater than are allowed to be chained together? I think this is confusing and should potentially even be removed from Python. ― mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/VideosS... Chained comparison docs: https://docs.python.org/3/reference/e... PEP to expand chained comparison: https://www.python.org/dev/peps/pep-0... SUPPORT ME ⭐ --------------------------------------------------- Patreon:   / mcoding   Paypal: https://www.paypal.com/donate/?hosted... Other donations: https://mcoding.io/donate Top patrons and donors: Laura M, Jameson, John Martin, Vahnekie, Pieter G, Sigmanificient BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord:   / discord   Github: https://github.com/mCodingLLC/ Reddit:   / mcoding   Facebook:   / james.mcoding   CHAPTERS --------------------------------------------------- 0:00 Intro to chained comparisons 4:25 Good use cases 5:40 Questionable use cases 7:36 Bad use cases 10:42 Numpy use case

Comments