Комментарии:
Thanks 😊
ОтветитьThis looks too cpp, I still perfer the colon syntax
ОтветитьI love your videos really well constructed and great content. Though am I missing something, Why does everyone want explicit typing in Python, the point is not to. I love using 25 * "_" to make lines. types break this idea and more.
ОтветитьIt is so much cleaner and really simple to use 🤩
ОтветитьVar : type = value ...
Ответитьyou forgot about the bound with the type parameter like:
type MyIntegerSeq[T: int] = Sequence[T]
I hope the IntOrStr type is a joke. Right?
ОтветитьI am SO glad we can now reference class types before they are defined. You don't know how much I got annoyed at the fact that it wasn't possible in previous versions of Python.
Ответитьexplain more of generic types plz as you didn't give some examples😢, thx bro.
ОтветитьTypescript entered the chat
ОтветитьI wish i could update to 3.12 but the library I heavily depend on doesn't work on 3.12
ОтветитьI completely missed this when I was doing my research on 3.12! This is SO much nicer than the old system in so many ways, definitely long overdue.
ОтветитьThey should have used another keyword imo. Type is already a function
ОтветитьExcited to use it :)
Ответитьso basically typedef from c?
Ответитьnice, clean and fast to type out, that's what we like about python (and all the libs :D) --> good change
ОтветитьI would like to try that out!
Ответить