logoalt Hacker News

schubarttoday at 6:43 PM3 repliesview on HN

I’m familiar with spaghetti code and with lasagna code (too many layers) but I’m curious: what’s ravioli code?


Replies

p1neconetoday at 7:26 PM

Each part of the codebase is a separate self contained module with its own wrapping (boilerplate), except there's like 30 of them and you still have to understand everything as a whole to understand the behaviour of the system anyway.

tartorantoday at 6:55 PM

Think of what ravioli are and apply that to the same code analogy as spagetti or lassagna. The code is split in tiny units and that creates too much indirection, a different indirection than spagetti or ravioli. The architecture feels fragmented even though there's nothing wrong with each piece.

fsckboytoday at 7:36 PM

a ravioli is a b̶l̶a̶c̶k̶ beige box abstraction to which you pasta arguments interface usually after forking