Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет LWN.net ([info]syn_lwnheadline)
@ 2020-12-02 22:30:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
[$] Python structural pattern matching morphs again
A way to specify multiply branched conditionals in the Python language—akin
to the C switch statement—has been
a longtime feature request. Over the years, various proposals have been
mooted, but none has ever crossed the finish line and made it into the
language. A highly ambitious proposal that
would solve the multi-branch-conditional problem (and quite a bit more) has
been discussed—dissected, perhaps—in the Python community over the last six
months or so. We have covered
some of the discussion in August and September, but the ground has shifted once
again so it is time to see where things stand.


(Читать комментарии) (Добавить комментарий)