You might claim it is spaghetti code because you believe in some dogma that your predecessor did not adhere to. Maybe hold back for a while and try to understand what's going on first?
I've been there as well, but after going through quite a few 'paradigms' I have to say that I prefer spaghetti to
lasagne (layers and layers and more layers of crap)
calzone (looks nice on the outside and has test cases for every line but thats because the logic is so contorted and mutable state is everywhere)
the mafia that tells me I can't use this keyword or other, how long lines can be, that I can't use a single letter variable name, etc pp
You might claim it is spaghetti code because you believe in some dogma that your predecessor did not adhere to. Maybe hold back for a while and try to understand what's going on first?
I've been there as well, but after going through quite a few 'paradigms' I have to say that I prefer spaghetti to
lasagne (layers and layers and more layers of crap)
calzone (looks nice on the outside and has test cases for every line but thats because the logic is so contorted and mutable state is everywhere)
the mafia that tells me I can't use this keyword or other, how long lines can be, that I can't use a single letter variable name, etc pp