Hacker News new | ask | show | jobs
by pvg 3567 days ago
I'm curious about the 8000 line procedure and what made it the best approach in your case. Also, how do you navigate inside it?
1 comments

It's the procedure that constructs most of the puzzle panels in the game.

Usually I just search for the name of the puzzle I want to edit (which is also how you'd do it if it were a ton of different procedures).

Hah, that's cheating! I'm not trying to defend an 'N-lines' rule which seems too obviously silly to even argue about but people do often break out chunks of code into procedures to give them logical, navigable names. You have names inside your big procedure.