Chris Lattner
๐ค SpeakerAppearances Over Time
Podcast Appearances
Those can also throw and return.
Wait, what?
Nested?
Like the stuff matters for compatibility.
Really?
You can nest them?
There's with clauses.
And so with clauses are kind of like finally blocks with some special stuff going on.
Lex, I'm merely an implementer.
And so this is, again, one of the trade-offs you get when you decide to build a superset is you get to implement a full fidelity implementation of the thing that you decided is good.
And so...
Yeah, I mean, we can complain about the reality of the world and shake our fists, but... It always feels like you shouldn't be allowed to do that, like to declare functions inside functions.
Wait, wait, wait.
What happened to Lex, the Lisp guy?
So now you've grown up?
I love Lisp, I love Lisp.
Okay, yeah, I was going to say, you're afraid of me irritating the whole internet?
Yeah, it is.
So nested functions are, joking aside, actually really great for certain things, right?
And so these are also called closures.