The Daily WTF
As we’ve discussed in the past, video game code probably shouldn’t be held to the standards of your average WTF: they’re operating under wildly different constraints. So, for example, when a popular indie game open sources itself, and people find all sorts of horrors in the codebase: hey, the game shipped and made money. This isn’t life or death stuff.
It’s a little different when you’re building the engine. You’re not just hacking together whatever you need to make your product work, but putting together a reusable platform to make other people’s products work.
Rich D, who previously shared some horrors he found in the Unreal engine, recently discovered that UnrealScript has a useful sounding JsonObject. Since Rich is thinking in terms of mods, being able to read/write JSON to handle mod configuration is useful, but anyone designing a game might have many good reasons to want JSON documents.
To read the full article click on the 'post' link at the top.