Tag Archive: python


Python, I Love Thee

I love Python. I’m sorry Java, we had a really good run, and for a long time I thought that things were working out really well, but the truth is that I want to marry Python. We’re buying a flat in a Victorian together, and we’re going to have little Python babies.

It’s not just that Python is more readable, less verbose, and has dynamic typing, it’s also just more fun. We laugh all the time, and never fight. Sure, we have the occasional disagreement about indentation, but we compromise and work things out. Java, you’re a good language, but let’s face it, we fought a lot. In a way, I’ll always love you. You taught me to love objects and object-oriented programming, and for that I’ll always be grateful. Things were always too complex, though, and I just can’t deal with another XML configuration file.

Oh, one more thing, I’m going to need my toaster oven back. Thanks.

Better Python Programming Through vim

I like to use the vim editor for most editing tasks (although not for creative writing). I know, it’s arcane and mysterious (want to quit and save? Just type colon, followed by “w”, followed by “q”, followed by Return. It’s so obvious!), but the first time I saw someone coding productively in it, I was hooked. It only took me 15 years to get to the point where I don’t have to use a cheat-sheet anymore. Here is a config file to help unleash some advanced features and make it easier to use. View full article »

Content copyright Dan Sneddon and Dan Sneddon Consulting