Which bit of code do you admire most and why? So this could be a whole project or just a small part that solves a problem in an elegant way, for example.
So I've got loads of pieces of code that I really admire and things that have taught me things a lot over the years.
And I have this particular moment I remember where I saw someone's code and I thought, wow, I'm right at the beginning of my coding journey.
And I thought I was good.
But I think the thing I'd like to talk about today is the Python source code.
So the actual code of the CPython interpreter that implements the Python programming language.
I don't know a lot about it.
I haven't looked really deeply into it.
But I read a bit of that code, and I was super impressed with how simple it was.
I love programming languages.
I love thinking about programming languages.
And all of the Python structures that I think of as quite kind of high-level abstract concepts are implemented in CPython, in C, in really straightforward ways, like ways that I could open up the code and see, oh, okay, that's how that works, without having to take... months of getting into it and understanding it.
So for example, a list in Python is just an array of pointers, and then the end of the list is indicated by a null pointer as the last item in that array.
And yeah, I just thought it was really cool that I could open up the code, not know anything about how it was implemented, but know a bit about how Python works.
and be able to recognise the stuff that I was familiar with in that C code, just because it was simple, well-named, well-structured and laid out.
I just think it's incredibly impressive for something, a project that big, to be comprehensible like that.
That's incredibly similar to the one that I was going to use.
Which bit of code do you admire most and why? So this could be a whole project or just a small part that solves a problem in an elegant way, for example.
So I've got loads of pieces of code that I really admire and things that have taught me things a lot over the years.
And I have this particular moment I remember where I saw someone's code and I thought, wow, I'm right at the beginning of my coding journey.
And I thought I was good.
But I think the thing I'd like to talk about today is the Python source code.
So the actual code of the CPython interpreter that implements the Python programming language.
I don't know a lot about it.
I haven't looked really deeply into it.
But I read a bit of that code, and I was super impressed with how simple it was.
I love programming languages.
I love thinking about programming languages.
And all of the Python structures that I think of as quite kind of high-level abstract concepts are implemented in CPython, in C, in really straightforward ways, like ways that I could open up the code and see, oh, okay, that's how that works, without having to take... months of getting into it and understanding it.
So for example, a list in Python is just an array of pointers, and then the end of the list is indicated by a null pointer as the last item in that array.
And yeah, I just thought it was really cool that I could open up the code, not know anything about how it was implemented, but know a bit about how Python works.
and be able to recognise the stuff that I was familiar with in that C code, just because it was simple, well-named, well-structured and laid out.
I just think it's incredibly impressive for something, a project that big, to be comprehensible like that.
That's incredibly similar to the one that I was going to use.
The rest of this transcript — segmented and speaker-labeled, so you land on the exact moment something was said
Search every transcript — by keyword, by phrase, or by meaning, across every show Radar indexes
Trends — what is surging across podcasts, measured against its own baseline
Alerts — when a name you follow appears in a newly indexed episode
No account is needed to search Radar.