The Importance of Writing Stuff Down


Adding a default method to an interface can be compatible, but it might be incompatible if there is a conflict with a method in an existing class. It’s therefore necessary to be quite careful when adding default methods to interfaces. It’s even more important to be careful if the interface is widely implemented (like List), if the method name is short and common (like sort), and if it has few or no arguments....

More at https://stuartmarks.wordpress.com/2023/02/22/the-importance-of-writing-stuff-down/