I don't think anything will save you if you mess up your block structure. You can mess up your block structure with indents, or you can mess it up with braces.
Personally I think it's easier to spot mess-ups with indents. Some people think braces are easier. I won't fight with those people today :-).
But I don't think randomly cut&pasting code anywhere is a good idea. If you do paste code, you really should understand what the code is doing first.