InThe 60-Second ProgrammerbyMarcelo Domingues·Jul 31Comparable vs Comparator 🔢Natural order vs. on-demand ordering.
Karuna·Mar 5Why I Stopped Using Comparable in Enterprise JavaIn the early years of my career, implementing Comparable felt like second nature. Any time I created a domain object—User, Order…
Gaye Uğur·Dec 15, 2025Swift Protocols: Equatable, Hashable, Identifiable, ComparableWhen designing models in Swift, these are the protocols we use most frequently. At first glance, they may seem simple, but they are…
Maheshkumar Srinivasan·Jun 16, 2025Comparable vs ComparatorBoth Comparable and Comparator are used to compare objects in Java — especially when you are sorting or ordering collections of objects…