Ask HN: How do you “pre-code”? I've started writing more pseudocode before tackling problems and it's helped a lot in sussing out the general control flow / structure of what I intend to write, basically helping with the programming equivalent of writer's block. It got me to wondering - what else do people do before ever putting hands to keyboard? Obviously there's documentation, meetings with stakeholders, project prep as this whole thing, but I was thinking more for narrower concerns - you're adding a small feature on a mature product or writing a one-off script - what do you try and do beforehand? |