Re:Terraria Source Code (2013)
by hesdeadjim on Tuesday February 15, 2022 @09:59AM
(#30347275)
This 100%. You are doing a great job if you maintain clean code for 50% of the project, because that last 50% will be a mad dash to get to ship.
Source: 12 years in gamedev ;P
The code looks bad. I guess it has been refactored later.
The repo says this code is only for educational purposes. This spaghetti can be still a good example for the reasons you mentioned. Or maybe it is a good example for an ugly prototype version of an game.
This could be even better if people could see a refactored version of this codebase.
What would a metric such as "clean code score" help with any of this?