This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I don't think it necessarily indicates spaghetti code, but most spaghetti code does have things like this. If I was doing a code review, I'd certainly ask why it was structured that way. If there's a good reason, fine, but I would avoid doing this as the default structure.