Python 3.10's new type hinting features

Python 3.10's new type hinting features

mCoding

3 года назад

65,535 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@markcuello5
@markcuello5 - 26.04.2022 11:49

Help me

Ответить
@ebux9885
@ebux9885 - 02.09.2021 00:01

i no longer code python yet this is VERY entertaining for me

edit: ursina really got me back to python

Ответить
@robertbrummayer4908
@robertbrummayer4908 - 27.08.2021 16:03

The new typing features are indeed interesting. Thanks for the great video, James!

Ответить
@krtirtho
@krtirtho - 31.07.2021 20:25

Language Creators in the 90's: "Dynamic is awesome & so easy. Lets make everything dynamic"
Programmers nowadays: "who made this language sh*t dynamic. *Static types to the rescue"

Ответить
@TheDigitalSight
@TheDigitalSight - 28.07.2021 06:04

As typing will be mandatory from python 4 and it is always a huge benifits, Can you please create a detailed video series on python typing, which also covers advanced typing as well beginner level typing?

Your videos are so much informative.

Awaiting your video series on typing.

Regards.

Ответить
@amprew
@amprew - 27.07.2021 17:40

I think devs should wait until Debian updates to use a Python version before releasing a version of a program that needs it. Debian is the slowest updating mainstream Linux distro, as far as I know.

Ответить
@EvenTheDogAgrees
@EvenTheDogAgrees - 13.07.2021 16:22

Am I the only one who's got the impression the Python steering committee (or whatever they're called) is desperately trying to catch up with other languages by adding useless and syntactically complex features, and in the process forgetting one of the core goals of Python: to be a language that is easy for humans to learn and read?

Ответить
@kokop1107
@kokop1107 - 16.06.2021 14:16

What an awful idea

Ответить
@Jack-pq8uf
@Jack-pq8uf - 12.06.2021 23:57

Python 4 will be out in on time.

Ответить
@hikingpete
@hikingpete - 27.05.2021 19:15

Another release like this one and you'll be able to unironically describe python as a member of the ML family. I love it!

Ответить
@re.liable
@re.liable - 27.05.2021 17:12

It's going to be a joy learning TypeScript alongside Python with this feature

Ответить
@motbus3
@motbus3 - 23.05.2021 17:33

this param types and typesvars are dope.
I understand the need to get better type checking but people are turning python into cpp

Ответить
@echoptic775
@echoptic775 - 23.05.2021 01:11

Why such focus on types in python? If im not wrong python wont correct types

Ответить
@oliverwooding2066
@oliverwooding2066 - 19.05.2021 23:33

i had an issue where i couldn’t use an object as a return type inside it’s class definition, does anyone know if that’s intended behaviour?

Ответить
@TheParkitny
@TheParkitny - 19.05.2021 03:12

Learn new things every video. Keep it coming

Ответить
@BrianJorgensenAbides
@BrianJorgensenAbides - 18.05.2021 23:15

Great summary. I hate when I miss a good PEP. I almost missed the rise of pydantic for that reason, even though I had been trying to solve the same problem for years!

In this case, I’m most excited for language features that improve our communication to the reader of our code. It gives confidence to us all when things feel the most deterministic.

Even dynamic stack/pipeline analysis is deterministic, but it doesn’t FEEL that way because the rules are somewhat magick spells

Ответить
@branislavvujnovic9489
@branislavvujnovic9489 - 18.05.2021 11:52

Your videos are great, topics are great, but sound quality can be improved!

Ответить
@willjohnson4579
@willjohnson4579 - 18.05.2021 01:34

This is brilliant, I wish I understood how to effectively use any of this

Ответить
@marekglowacki2607
@marekglowacki2607 - 17.05.2021 19:43

New syntax for union looks like Haskell ;-)

Ответить
@morfes.
@morfes. - 17.05.2021 15:58

so python type system is similar to typescript

Ответить
@sagnikbhattacharya1202
@sagnikbhattacharya1202 - 17.05.2021 05:34

I'm convinced that Python 3.20 will be Rust.

Ответить
@MindlessTurtle
@MindlessTurtle - 17.05.2021 05:03

How do you people like Python's new typing? Still seems weird to me, but most of my scripts / projects are pretty small.

Ответить
@Yotanido
@Yotanido - 16.05.2021 22:25

Pattern matching in python? What's next, sum types?
Those two are the features I miss the most when using python, though better scoping is very high on that list too

Ответить
@RamkrishanYT
@RamkrishanYT - 16.05.2021 21:09

Do you have any video on args and kwargs?

Ответить
@gillnabiel8385
@gillnabiel8385 - 16.05.2021 21:01

Wait isn't 3.10 < 3.9 ?

Ответить
@9SMTM6
@9SMTM6 - 16.05.2021 20:08

Most of these type features are taken straight from typescript. Not that I mind, it's a good example and does a lot of things the right way.

Ответить
@zackjames2409
@zackjames2409 - 16.05.2021 10:08

I’m just learning programming and when I see Python's built-in asynchronous functionality (I had to google what a sync means) it makes me cry. I will never be able to learn all of this. I am self taught 😢

Ответить
@DebashishGhoshOfficial
@DebashishGhoshOfficial - 16.05.2021 07:28

As a C++ developer, I heartily welcome the typing improvements.

Ответить
@aditya95sriram
@aditya95sriram - 16.05.2021 05:37

My favorite kinda content from this channel 😌

Ответить
@Zhuclam
@Zhuclam - 16.05.2021 05:17

It's interesting how weakly typed languages like python, php and javscript are evolving more and more to be more strongly typed in the recent years. For javascript at the very least, typescript has become a game challenger, and no one wants to go back now

Ответить
@aqworldsmaster88
@aqworldsmaster88 - 16.05.2021 03:25

Thank you James

Ответить
@henry-diaz
@henry-diaz - 16.05.2021 02:42

Wonderful video, I love the new Python 3.10 release 😍, it's AWESOME!!!

Ответить
@Mutual_Information
@Mutual_Information - 15.05.2021 23:59

This channel is my only hope of staying up to date with recent Python updates. Fortunately it’s working.

Ответить
@yugiohsc
@yugiohsc - 15.05.2021 23:28

Why are we using type hints in Python in the first place?? These changes are throwing me for a loop

Ответить
@eyemotif
@eyemotif - 15.05.2021 22:46

wow this ability to manipulate the stuff going on under the hood is really convincing me to start using python

Ответить
@lordtony8276
@lordtony8276 - 15.05.2021 22:35

Still no ++.

Ответить
@Jacob011
@Jacob011 - 15.05.2021 21:36

Oh Man, it's getting convoluted as hell.

Ответить
@BlackHermit
@BlackHermit - 15.05.2021 19:58

I never liked type hints... :\

Ответить
@cedric1731
@cedric1731 - 15.05.2021 19:40

And here I was thinking I knew most of current Python by now...

Ответить
@michalbotor
@michalbotor - 15.05.2021 19:39

am i the only one who doesn't like python's type hints? in my opinion all they do in practice is make the code lengthy, ugly, and unreadable, oh and confusing as well. why did they introduce type hints to python? it used to be such a beautiful and concise language...
don't make python into java

Ответить
@MagnusAnand
@MagnusAnand - 15.05.2021 19:22

I’m loving this channel so much

Ответить
@SwissTHX11384EB
@SwissTHX11384EB - 15.05.2021 19:01

The quality of your videos is truly something. I could watch this all day.

Ответить
@bluemonk9480
@bluemonk9480 - 15.05.2021 18:58

god damn it i just got used to 3.9

Ответить
@user-hk3ej4hk7m
@user-hk3ej4hk7m - 15.05.2021 18:42

Being able to type higher order functions is definitely going to make my life much easier. typed partial application here we go

Ответить
@joeeeee8738
@joeeeee8738 - 15.05.2021 18:11

This is not another April's fools right? 😂

Ответить
@Mediners
@Mediners - 15.05.2021 17:53

I really love your content! thank you for making more!

Ответить
@Danielagostinho21
@Danielagostinho21 - 15.05.2021 17:37

I'm still using 3.7 waiting for a time to go through updating everything

Ответить