Usually, I try not to write too many opinion pieces about code, but I felt like I should mention that it's okay to test private methods.
As with many posts in this series, I'm interested in examining some of the pitfalls when learning to code. Today, we'll cover the pitfalls when copying mutable data types.
Recently, one of my students just introduced me to `i = i++`. Care to guess how it works? It's probably not what you think.
Forget endless if statements! It's time to solve Rock Paper Scissors using modular arithmetic in Python.
Recently, I found out that the `else if` keyword doesn't exist. To put it bluntly, you're going to want to read this one.
As a teacher, I like to warn my students of the various pitfalls in computer science. Today, let's talk about Java's substring method.