Today, I'm kicking off a series of new articles that take a look at real computer science multiple choice questions and attempt to give some tips for solving them. Right now, I want to start by...
Tag: Java
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.
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...