OMG! I have never been expecting I'll watch Guido Van Rossam
@WasiMaster4 жыл бұрын
At 28:04. The better world example now works as of python 3.9 :)
@MaikSpike9 жыл бұрын
Guido is the best thing ever to happen to Python
@Krasbin9 жыл бұрын
+Miguel ‘Maikflow’ Pena And without Guido there would be no Python. He sorta kinda started it all.
@filiphron31478 жыл бұрын
+Miguel „Maikflow“ Pena Python is the best think that happened to Guido.
@msshroff6 жыл бұрын
actually pyhon is the best thing ever to happen to guido :)
@sadhlife3 жыл бұрын
here's the right quote: Guido is Python
@Twisted_Code4 жыл бұрын
thank you for this awesome feature I didn't realize existed until about two weeks ago. I've already preemptively caught at least one bug thanks to my IDE using a type hint I included. I imagine it won't be the last.
@megalowhale81759 жыл бұрын
"Some bugs get found sooner if you have type annotations." Understatement of the century. It completely eliminates an entire class of errors. Personally, when languages come out that DON'T feature type-checking, I really feel like this is regressive and taking a step in the wrong direction.
@Konstruktivismus8 жыл бұрын
I am not so sure about that. If you write tests for all parts of your code (coverage=100%), then you also have some sort of type checking of the whole code. And actually this testing removes many other types of errors as well, and therefore is just necessary to write stable and good code.
@megalowhale81758 жыл бұрын
Konstruktivismus unit testing alone is NOT enough. There are many possible type errors which remain possible even with 100% coverage. This becomes more apparent the less trivial the code base is. Look up the article by Evan Farrer on unit testing + static typing, as he provides a number of examples of this.
@garlic-os4 жыл бұрын
Can I get a picture of you with that mango thing?
@Twisted_Code4 жыл бұрын
12:15 "legacy code you don't want to change" yeah... as the saying goes, if it isn't broke, don't *_touch_* it!
@nikolayyotsov12405 жыл бұрын
what happen to "Explicit is better than implicit. " ?
@robbert-janmerk67835 жыл бұрын
I would rather ask: what happened to "There should be one-- and preferably only one --obvious way to do it."
@sadhlife3 жыл бұрын
this is explicit :0
@sadhlife3 жыл бұрын
@@robbert-janmerk6783 I'll be honest. writing typed code is the only obvious way to write most Python code now
@legion_prex36503 жыл бұрын
@@sadhlife WORD!
@astroboy512 Жыл бұрын
@@robbert-janmerk6783 "preferably only one", note the "preferebly"
@nikosc9 жыл бұрын
is there intention from any popular open source python libraries (e.g. django, pyramid, sqlalchemy..) to use type hints in their codebase?
@ovangle9 жыл бұрын
Nikos C. The simple answer would be no, not in the short term, because they're all stuck using six libraries to support users on py2.
@AistisJokubauskas8 жыл бұрын
+Thomas Stephenson well I don't quiet understand your statement. If I understood correctly type information goes into pyi file, which is not interpreted by python 2. Would it be correct?
@VaibhavMishraVM8 жыл бұрын
+Kiki Klank yes according to the slides.
@tomaszmakuch2 жыл бұрын
Guy who edited the video had one job: NOT to cover the slides with little Guido...
@calebparks8318 Жыл бұрын
No offense, but C++ saw this coming from before.
@ashrasmun14 жыл бұрын
imo everyone who disregards the power of types is just irresponsible