When I first started posting code here I tested everything, even simple things like
print "hello world\n"; Then I got a little cocky and stopped testing things (it took too long, I would start my post and no one had responded yet, but I would finish testing and my post ended up number 10 or something.) But then I kept feeling guilty. Even with the "untested" tag, I fealt guilty. So now I test almost everything except spuedo-perl-code. Which is to say that I try to make it clear that untested code is untested AND possibly incomplete and I only use it where real code is impractical or unessecary.<sp?>
As for formating, I'm with you. Open braces go below the function. Plus I wrap long predicates. I vary my wraping on tertiaries based on the length of the sections. I also like indentation. I usually use 4 spaces, but lately I cut that down to 2 in my posts because I don't like horizontal scrolling.