Skip to content

Commit 36ab187

Browse files
committed
Many transcript corrections.
1 parent 636ac35 commit 36ab187

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

transcripts/505-t-strings.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,9 @@
434434

435435
00:20:28 But if you were to go and, you know, there's like a popular tool called SQL Glock, for example, that allows you to take SQL, re-express it as an abstract syntax tree, and then what can you do with that?
436436

437-
00:20:42 Well, you know, the interesting thing about, you know, what we do with T-Strings is it can be a front-end to such tools.
437+
00:20:42 Well, you know, the interesting thing about, you know, what we do with t-strings is it can be a front-end to such tools.
438438

439-
00:20:50 So T-Strings themselves are, you know, intentionally designed to have just this very limited, but at the same time, you know, let's say, you know, very powerful, you know, integration with Python, right? You have, you know, effectively an f-string specification of, you know, what's going to describe that template. You describe the interpolations, they can be nested and everything, but fundamentally at the end of the day, you get this template object out of it, which could be nested and whatnot, but it's still this simple, straightforward thing. And then you pass it to a function that can do interesting things with that. From a performance perspective, that's also something that we intentionally put together. I don't know, Dave, if you want to talk about that, what we did specifically for that, because I think that might be something you want to speak to.
439+
00:20:50 So t-strings themselves are, you know, intentionally designed to have just this very limited, but at the same time, you know, let's say, you know, very powerful, you know, integration with Python, right? You have, you know, effectively an f-string specification of, you know, what's going to describe that template. You describe the interpolations, they can be nested and everything, but fundamentally at the end of the day, you get this template object out of it, which could be nested and whatnot, but it's still this simple, straightforward thing. And then you pass it to a function that can do interesting things with that. From a performance perspective, that's also something that we intentionally put together. I don't know, Dave, if you want to talk about that, what we did specifically for that, because I think that might be something you want to speak to.
440440

441441
00:21:39 Yeah, absolutely. Well, if you take a look at what's inside the template type, there are basically two tuples that sit there. There's a tuple called strings and a tuple called values or interpolations.
442442

transcripts/505-t-strings.vtt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,10 +715,10 @@ and, you know, doing it in a bad way.
715715
But if you were to go and, you know, there's like a popular tool called SQL Glock, for example, that allows you to take SQL, re-express it as an abstract syntax tree, and then what can you do with that?
716716

717717
00:20:42.380 --> 00:20:49.420
718-
Well, you know, the interesting thing about, you know, what we do with T-Strings is it can be a front-end to such tools.
718+
Well, you know, the interesting thing about, you know, what we do with t-strings is it can be a front-end to such tools.
719719

720720
00:20:50.060 --> 00:21:39.680
721-
So T-Strings themselves are, you know, intentionally designed to have just this very limited, but at the same time, you know, let's say, you know, very powerful, you know, integration with Python, right? You have, you know, effectively an f-string specification of, you know, what's going to describe that template. You describe the interpolations, they can be nested and everything, but fundamentally at the end of the day, you get this template object out of it, which could be nested and whatnot, but it's still this simple, straightforward thing. And then you pass it to a function that can do interesting things with that. From a performance perspective, that's also something that we intentionally put together. I don't know, Dave, if you want to talk about that, what we did specifically for that, because I think that might be something you want to speak to.
721+
So t-strings themselves are, you know, intentionally designed to have just this very limited, but at the same time, you know, let's say, you know, very powerful, you know, integration with Python, right? You have, you know, effectively an f-string specification of, you know, what's going to describe that template. You describe the interpolations, they can be nested and everything, but fundamentally at the end of the day, you get this template object out of it, which could be nested and whatnot, but it's still this simple, straightforward thing. And then you pass it to a function that can do interesting things with that. From a performance perspective, that's also something that we intentionally put together. I don't know, Dave, if you want to talk about that, what we did specifically for that, because I think that might be something you want to speak to.
722722

723723
00:21:39.940 --> 00:21:51.780
724724
Yeah, absolutely. Well, if you take a look at what's inside the template type, there are basically two tuples that sit there. There's a tuple called strings and a tuple called values or interpolations.

0 commit comments

Comments
 (0)