On learning how to program a snake

I’m not particularly keen on snakes.

I don’t have anything in particular against them, but I have less for them. I have no desire to be bitten and/or poisoned and possibly even less desire to be squeezed to death.

This isn’t about that kind of snake.

***

Recently I started learning Python. That’s a programming language. One of many.

Luckily for me, my brother is a multilingual programmer.

He’s teaching me how to write python.

Or trying to.

He’s very knowledgeable and mostly incredibly patient.

I am not knowledgeable. At all. And I’m not patient enough when it comes to listening, testing and understanding. I feel like I’m not progressing fast enough but simultaneously not going slowly enough for it to really sink in.

He keeps trying to tell me I’m not totally rubbish, but my head keeps telling me otherwise.

There are so many opportunities to get completely and utterly lost. There are so many commands and functions and strings and lists and dictionaries and tuples and maps and syntax and arguments and types and loops and iterators and keys and indexes and classes and sets and definitions and numbers and ranges and braces and brackets and immutable things and sums and and….

… I don’t even know some of the words in ordinary daily use (and have forgotten them already) and have to have them explained before I stand a chance of understanding their role in the program.

The guy sitting across from us on a train home heard us talking, and watched us tapping away on my laptop. When he got to his station he stood up, gathered his things together, took a step towards the doors, paused, turned back and told me it’s fun when you get the hang of it. That makes sense. Most things get better as you get better.

I don’t give up easily, and I know it’s ridiculous to want to learn a language in a few days, but it’s frustrating floundering about in the simplest instructions.

We’ll see how I get on between now and next year/decade/century/millennium…

Wish me luck!

4 thoughts on “On learning how to program a snake

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.