This is the second installment of my series of blog posts on the “reduce” function/method. For an introduction, see here. I love to play Scrabble — or more commonly nowadays,
One of the notable things about MIT’s computer science curriculum, at least back when I was studying there, was that you didn’t learn any “practical” programming languages. Our work was
It has been many years since Python developers were really supposed to worry about new-style vs. old-style classes. There is only one style (new) in Python 3.x, and even in
When I teach a Ruby or Python class, I always begin by going through the various data types. My students are typically experienced programmers in Java, C++, or C#, and
You can learn more about the class here. Or contact me as “reuvenlerner” on Skype, or via e-mail at reuven@lerner.co.il, to see if it’s right for you!
I have been consulting, developing, and offering training classes in both Ruby and Python for a number of years now — more than 15 years in Python, and more than
In some programming languages, the idea of “reflection” is somewhat exotic, and takes a while to learn. In Python (and Ruby, for that matter), the language is both dynamic and
I had so much fun writing the previous blog post about Python scoping that I decided to expand it into a free e-mail course. Each day (for five days), you’ll
Let’s say I want to try something on a list in Python. While I usually like to call my test list objects “mylist”, I sometimes forget, and create a variable