4 ms·
I’m familiar with spaghetti code and with lasagna code (too many layers) but I’m curious: what’s ravioli code?
by schubart 7mo ago
I’m familiar with spaghetti code and with lasagna code (too many layers) but I’m curious: what’s ravioli code?
- tartoran 7mo agoThink 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.
- fsckboy 7mo agoa ravioli is a b̶l̶a̶c̶k̶ beige box abstraction to which you pasta arguments interface usually after forking
- dullcrisp 7mo agoIs it open sauce?
- p1necone 7mo agoEach 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.
- paulddraper 7mo agoIt's "spaghetti" code, but with encapsulation. [1] Lots and lots of little components, but not in a way that actually makes anything easier to actually find. [1] https://wiki.c2.com/?RavioliCode https://wiki.c2.com/?RavioliCode