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

Guido van Rossum

๐Ÿ‘ค Person
1189 total appearances

Appearances Over Time

Podcast Appearances

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

I have my program and I write program XY.

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

Well, that already has a meaning because that presumably means X itself is the file.

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

It's a file name.

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

It's not a variable name.

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

And so the inventors of things like the Unix shell, and I'm sure job command language at IBM before that,

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

had to use something that made it clear to the script processor, here is an X that is not actually the name of a file, which you just pass through to the program you're running.

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

Here is an X that is the name of a variable.

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

And when you're writing a script processor, you try to keep it as simple as possible.

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

Because certainly in the 50s and 60s, the thing that interprets the script had to be a very small program because it had to fit in a very small part of memory.

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

And so saying, oh, just look at each character.

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

And if you see a dollar sign, you jump to another section of the code and then you gobble up characters or say until the next space or something.

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

And you say that's the variable name.

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

And so it was sort of invented as a clever way to make parsing of things that contain both variable and fixed parts very easy in a very simple script processor.

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

It also helps, even then, it also helps the human author and the human reader of the script understand

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

to quickly see, oh, 20 lines down in the script, I see a reference to XYZ.

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

Oh, it has a dollar in front of it.

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

So now we know that XYZ must be one of the parameters of the script.

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

Oh yeah, I think there's a lot of it in Wikipedia too, for example.

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

Just like biological systems, right?

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

I mean, the inner workings of DNA have been stable for, well, I don't know how long it was, like 300 million years, half a billion years?