There are times when a new feature containing sorting is introduced. Obviously, we want to verify that the implemented sorting works correctly. AssertJ framework provides first-class support for such tasks. This article shows how to write such tests. In this article, you will learn the following: Two main methods provided by Assert frameworks for sorting assertion How to assert data …
Read More »Demystifying the Department of Government Efficiency
Zoë Schiffer: It must have been a long walk. Lauren Goode: I mean, I heard a lot about jujitsu. 56 minutes of that show was taken up on jujitsu, and then it was also like, “Also, how to live forever.” I don’t know. Yeah. Michael Calore: I really want to hear that, because I was fascinated when you started talking …
Read More »Demystifying Big O Notation
Understanding how efficient your code is just by looking at it can be tricky. Thankfully, the brilliant minds before us have come up with a neat trick: Big O notation. This fancy little concept helps us measure how much time and space an algorithm will consume based on its input. So, why should we care? Well, as engineers, our job …
Read More »