L
L
LoliDeveloper2021-08-20 14:17:04
Java
LoliDeveloper, 2021-08-20 14:17:04

Should I worry about the speed of the program with interfaces?

I am writing a client-server in kotlin-java and I like to do everything through interfaces, implementing something specific only in the final places, but I think there is some limit to these levels of abstraction? On the pluses, we were taught that this has a bad effect on performance, and I'm afraid that then everything will have to be rewritten into a mess from classes ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Developer, 2021-08-20
@LoliDeveloper

This does not affect performance in any way, but with abstractions you can really go too far, there is even a term for this - overengineering

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question