
Designing Data-Intensive Applications – Maintainability
Coding Blocks
00:00
Reducing Complexity Improves Maintainability of Software
In my mind, a three line method is far easier to grok than a 300 line method. For this reason alone, we should strive to make our systems simpler to understand. The 10 methods with the 30 lines each is going to more than likely be easier to understand if it's broken out properly. By splitting up things into moremethods, you are adding more code and C sharp for instance. You'll have more lines just for method definitions and that kind of stuff. It's not necessarily as longer is worse for me. It's just, did you introduce the right level of abstraction? Did you, did you break up your methods properly? That to me, easier to follow.
Play episode from 01:26:47
Transcript



