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.
Tag: Best Practices
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!
What are your thoughts on code commenting? I bet you have a few. Here are some that I found in the community.
When 87% of your students miss a quiz question, it's up to you to make some sense of it. For instance, you might make an entire article about Java iterators.
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.