In yesterday’s post, I showed how we can use Python’s “reduce” function to create a dictionary. Ruby, of course, also has dictionaries, but calls them “hashes.” In this posting, I’m
In the last few installments (first, second, third, and fourth) of this series, we saw how “reduce” can be used to build up a scalar value (such as a number
In the first few parts of this series (first, second, and third), I introduced the “reduce” function, and showed how it can be used in a number of ways. However,
This is the third installment of my “reduce” series of blog posts. For the first, see here, and for the second, see here. If you have been reading this series,
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
Several months ago, I was teaching an introductory Python course, and I happened to mention the fact that I use Git for all of my version-control needs. I think that
If there’s anything that software people know, it’s that changing one part of a program can result in a change in a seemingly unrelated part of the program. That’s why
In the wake of my last blog post, I’ve been thinking a great deal about the practice of teaching, and specifically the practice of teaching programming. I’ve realized that while