Beautiful Python Refactoring II - Conor Hoekstra - code::dive 2022

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 7

  • @mateuszbaginski5075
    @mateuszbaginski5075 Рік тому

    Hearing Conor give a full talk about Python is almost like hearing him speak Polish

  • @kevinjoseph8119
    @kevinjoseph8119 2 роки тому

    Great talk, that was so insightful. Thanks Conor.

  • @kian5146
    @kian5146 2 роки тому

    The digressions are just great !

  • @ekrako76
    @ekrako76 2 роки тому +1

    @code_report in 45:40 why not multiply the inner list instead list comperhansion

    • @Zelouille
      @Zelouille Рік тому +5

      If you multiply the inner list, you'll get a list containing 15 times the same mutable list object. You won't be able to modify one later without changing the others, because there will be no other list.
      The first multiplication is not a problem here, because strings are immutable in Python.

  • @dengan699
    @dengan699 Рік тому +1

    No way i am refactoring my loops into double-list-comprehensions, thanks

  • @tankerwife2001
    @tankerwife2001 2 роки тому

    41:32 LOL