Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Guido van Rossum

๐Ÿ‘ค Speaker
See mentions of this person in podcasts
1189 total appearances

Appearances Over Time

Podcast Appearances

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Maybe there's a typo somewhere else where you meant to use it, but you accidentally used something else, or there are a number of sort of common scenarios.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And a linter is often,

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

a big collection of little heuristics where by looking at the combination of how your code is laid out, maybe how it's indented, maybe the comment structure, but also just things like definition of names, use of names, it'll tell you likely things that are wrong.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And in some cases, linters are really style checkers.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

For Python, there are a number of linters that check things like, do you use the PEP8 recommended naming scheme for your functions and classes and variables?

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Because classes start with an uppercase and the rest starts with a lowercase.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

There's slight differences there.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And so the linter can tell you, hey, you have a class whose first letter is not an uppercase letter.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And I just find it annoying.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

If I wanted that to be an uppercase letter, I would have typed an uppercase letter.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

But other people find it very comforting that if the linter is no longer complaining about their code, that they have followed all the style rules.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Yeah, there's definitely that.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

But the best use of a linter is probably not so much to sort of enforce team uniformity, but to actually help developers...

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

catch bugs that the compilers, for whatever reason, don't catch.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And there's lots of that in Python.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

But a static type checker focuses on a particular aspect of the linting, which, I mean, MyPy doesn't care how you name your classes and variables.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

But it is meticulous about when you say that there was an integer here and you're passing a string there, it will tell you, hey, that string is not an integer.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

So something's wrong.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Either you were incorrect when you said it was an integer or you're incorrect when you're passing it a string.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Well, Microsoft is hoping that Microsoft's horse in that race called Pyrite is going to win.