r/java •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

594 comments sorted by

View all comments

1

u/kadakpav Jun 10 '24

I love programming to interfaces. In Java it is very easy by using OOP concepts like Inheritance and polymorphism to implement great design patterns which goes a long way in improving the maintainability and extensibility of the code. GoLang's composition is not quite the same thing.