How To Use TASK GROUPS In Python 3.11 (NEW FEATURE!)

preview_player
Показать описание
Did you hear about the new task groups in Python 3.11? They're really cool! I'll show you how they work in this video.

▶ Become job-ready with Python:

▶ Follow me on Instagram:
Рекомендации по теме
Комментарии
Автор

Ooh, I just read down the list of comments, and also noticed what a kind person you are, how gently you handled the inevitable few flames here and there. The mark of a true professional, Thank you kind sir!

uquantum
Автор

That's nice to know about this
Thank you for the information.

btw, don't you think python is updating so frequently recently?

Mingming_Studio
Автор

Nice, its recommended to create the tasks in a for loop?

miguelvasquez
Автор

People really need to stop abbreviating simple words and just use the words instead, it makes for code with less cognitive load.

Instead of "tg", just write "task_group". Instead of "eg", just write "error_group".

Full words make an entire code base far more comprehendable. There are no performance boosts for using shorter object names.

There shall be no ambiguity in code, so stop encouraging and teaching bad habits.

Which one is more comprehendable at a glance?


-or-


Pro-Tip: If you argue for the second one, you're an idiot and should never get a job writing production enterprise code because you will objectively make the world a worse place for so many people who have to go back and refactor your garbage code.

thebluriam