Monday, February 3, 2014

Week 4



Well a whole week has passed since my last Slog thing. I can barely recognize the person I was back then. I have a feeling that staying regular with these things will require a herculean effort. But I’ll try. I Sure will. Yup.

They say that we’re afraid of that which we don’t understand. And it’s true that, for a long time, exceptions both baffled and terrified me. But this week we pulled back the curtain a bit, and they’re not quite so menacing anymore .After being on the receiving end of their curt disapprobation for so long, it’s gratifying to finally be telling someone else that they messed up. It’s also good to have some sort of idea what the wall of text Python spits out at me means. I imagine in a statistical sense there are more wrong ways to use code than correct ways, so I’m glad exceptions exist to hold anarchy at bay.

Also it’s pretty exciting to finally learn what all this recursion stuff is about. A while ago if you’d asked me, I probably would’ve told you that a function that calls itself was impossible at best, and irresponsible to the stability of the universe at worst. At risk of collapsing space as we know it, I’m starting to see how useful a function with such behaviour could be. It reminds me of a joke I once heard:

What’s Benoit B. Mandelbrot’s middle name?

Benoit B. Mandelbrot.

No comments:

Post a Comment