DEV Community

Discussion on: What is your tale of lasagna code? (Code with too many layers)

Collapse
 
rlxdprogrammer profile image
Marcell Lipp

It is always up to the task. For small programms of course you don't need so many layers, interfaces and so on. For a bigger, more complex one you need it to avoid a lot of issues: code duplications, unreadable code, constant merge conflicts etc.

Collapse
 
jsn1nj4 profile image
Elliot Derhay

So build layers only as needed. I would agree with that.