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.
Series: Coding Tangents
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.
Sometimes it's fun to make an interactive application with Scanner. Unfortunately, we have to be careful with Scanner methods.