As an educator, I find Java to be a barrier to the fun students want to have while coding, so I often recommend Python as a replacement. Here's why.
Tag: Java
Lots of people use flags in their code. There's nothing wrong with that, but you may find your code easier to write without them.
Code readability is something we should always strive for, but there are so many rules. Today, we'll talk about one of those rules that might help you out.
In programming, a magic number is a value without a clear purpose. In this article, we'll learn how to fix them!
Swapping variables in Java is tricky business, but everyone has probably seen the three step process. Unfortunately, a problem arises when we try to abstract that process out into a method. If you...
Working with arithmetic is all fun and games until you accidentally divide by zero, but what's the big deal? Let's talk about it!