You would think I'd seen it all in my teaching career, but a new bug just showed up in one of my labs: one that involves using == to compare Integer objects in Java.
Series: Coding Tangents
Unpacking the Jargon Around Compilers, Interpreters, and More
Today, we're going to get a little pedantic and try to define concepts like compiler and interpreter. Of course, I ultimately don't think it matters what the exact definitions are for practical...
It's a special day when I cover a Java topic. In this one, we're talking about Enums, and the problem(s) they are intended to solve.
It's not often that you actually have to think about more interesting day-to-day algorithms like shuffling a playlist. That's what I want to talk about today!
The Difference Between str() and repr() in Python: A Design by Contract Perspective
Recently, I was giving a lecture about Java's "common" methods (i.e., all of the methods of Object), and I had epiphany about how Java only has toString() while Python has str() and repr(). So, it...
This week, I taught a lesson on hashing, and now I'm going to pass the highlights on to you!