Anonymous asked: Roughly how big of a clusterfuck is your code normally, or are you the enlightened one who shall bring a light to the dark recesses of uncommented spaghetti code.

Cookie Clicker is probably the cleanest code I’ve written so far, in part because I know a lot of people read it. Just a few years ago I was still using an awful mix of french and english variable names, very little object-oriented stuff, and *gasp* pretty much no indenting at all. I still don’t comment as much as I probably should, but people have told me my code is very readable anyway.

There’s still some pretty bad spaghetti code though - the embryonic dungeon code in the beta is an ungodly mess (and I refactored it twice !).

I’m still learning everyday, and my future games will probably use a ton of neat clean tricks I didn’t even know existed when I started Cookie Clicker.

ps. I’m drawing tons of eggs right now