Maybe its the same reason that broomsticks use Aristotelian physics. If magic was intelligently designed by people who didn't know much science you would expect it to obey the law of "it makes sense so long as you don't think too hard".
Another idea along these lines is that combat spells work like "counterfactual weapons" - they get through iff a blade would have worked instead. But in any case Harry should have investigated that before trying to level up Str. As per the current version, he probably did check that metal would stop spells (otherwise the whole plan would be mere stupidity); it's not such a big leap to try styrofoam while you're at it.
Update: Discussion has moved on to a new thread.
The load more comments links are getting annoying (at least if you're not logged in), so it's time for a new Harry Potter and the Methods of Rationality discussion thread. We're also approaching the traditional 500-comment mark, but I think that hidden comments provide more appropriate joints to carve these threads at. So as of chapter 67, this is the place to share your thoughts about Eliezer Yudkowsky's Harry Potter fanfic.
The first 5 discussion threads are on the main page under the harry_potter tag. Threads 6 and on (including this one) are in the discussion section using its separate tag system. Also: one, two, three, four, five, six. The fanfiction.net author page is the central author-controlled HPMOR clearinghouse with links to the RSS feed, pdf version, TV Tropes pages, fan art, and more, and AdeleneDawner has kept an archive of Author's Notes.
As a reminder, it's often useful to start your comment by indicating which chapter you are commenting on.
Spoiler Warning: this thread is full of spoilers. With few exceptions, spoilers for MOR and canon are fair game to post, without warning or rot13. More specifically: