Last month I started fiddling around with a couple new-to-me programming languages: Python and Ruby.
I started with Python because I’ve come across several things recently that used it. Specifically, Kent Beck’s book: Test Driven Deveopment, another book I picked up this fall called Grokking Algoritms by Aditya Y. Bhargava, and a machine learning app that I saw demonstrated during a Nomad PHP meeting last month.
(Ruby is something I’ve always been curious about, but just never yet have gotten around to it.)
After some fiddling with Python, I decided I’d take a deeper dive in. So I picked up Zed Shaw’s Learn Python 3 the Hard Way, which sounded like how I’d do it anyway.
The first 10 exercises have been mostly about strings and string functions. Exercise 11 starts in with prompts. Then reading files. Then functions. Still nothing earth-shaking. After all it’s a beginner text. But it’s thorough, which is what I was looking for.
So far what’s most difficult to get used to is not bothering to end each line of code with a semicolon. I keep popping them onto the end of lines out of habit.