Match case statements in Python

Поделиться
HTML-код
  • Опубликовано: 26 май 2023
  • This video covers an alternative to the if statement: The match case. A powerful tool to control the flow of code.

Комментарии • 10

  • @MrArecius
    @MrArecius 5 месяцев назад

    Thank you for your awesome videos.
    The quality of this is so high! I greatly appreciate your work!

  • @mking1982098
    @mking1982098 10 месяцев назад +1

    It's only real advantage over if/elif is readability due to the nesting. Though it may be better performance wise as well I've never tested.

  • @stark_kun
    @stark_kun Год назад

    it's very useful when you're creating a menu in pygame

  • @cccornel5965
    @cccornel5965 3 месяца назад

    I like these videos

  • @SougataPaul-pp5wp
    @SougataPaul-pp5wp 2 месяца назад

    so much clean , what is code compiler?

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 9 месяцев назад

    I got one more python wepon..thanks sir.

  • @user-hd5we9uh5d
    @user-hd5we9uh5d Год назад

    Keep being amazing

  • @user-hd5we9uh5d
    @user-hd5we9uh5d Год назад

    I would love to be always your the first viewer

  • @linuxeducation4058
    @linuxeducation4058 Год назад

    I think this is unnecessary. I used case in Bash. Python is simple and clear, and this is a very good approach. If is enough.

    • @linuxeducation4058
      @linuxeducation4058 Год назад

      BTW. Atlas, please give us good examples of design patterns for GUI, other technologies.