"casual Friday" is the worst idea ever. Is working somehow less important on Friday? No? Then why not make every day casual Friday.
(I am personally not bitter about this. I wear whatever I want to work, and if someone has a problem, I'll just go work for the competition instead. Needless to say, nobody has a problem :)
I agree about a certain element of professionalism. My current boss has come in drunk on multiple occasions (all company meetings, candidate interviews, etc.). When I bring up the issue to his boss (the owner) the response is "He's putting it 60-80 hrs a week... he's super billable... he's a huge asset". Eventually, the "as long as you get the work done" attitude wore on me... I put in my two weeks last week.
I think there's certain freedoms employees should have (especially in the development world) including what you wear, hours you work, working from home, etc., but I don't think professionalism should be compromised.
However, if a developer came in "high and wearing a chicken suit" I wouldn't care how much he got done. The chicken suit might be passable if it were casual Friday, but high - not acceptable. There should still be an element of professionalism and respect when you're working with other people, getting paid well, and clients are depending on you.