In my years of coding, you'd think I'd have learned the lesson that software systems are hard. Well, I learned that lesson once again in an attempt to move a bunch of Java projects from Eclipse to VS...
Tag: Java
The Difference Between str() and repr() in Python: A Design by Contract Perspective
Recently, I was giving a lecture about Java's "common" methods (i.e., all of the methods of Object), and I had epiphany about how Java only has toString() while Python has str() and repr(). So, it...
This week, I taught a lesson on hashing, and now I'm going to pass the highlights on to you!
Time to fire up yet another old debate. This time I want to cover the difference between mod and remainder, as I understand them.
Flexible Interfaces With Optional Methods Are Good: A Java List Case Study
Software design is hard, but we sometimes make it harder on ourselves. Why not adopt a more flexible approach to allow for nuance?
Comparing strings in Java is always a nightmare, but did you know using == can sometimes work? Yeah, say hello to more nightmare fuel.