static code is bad because dependency injection and unit testing.
simple static utility methods (e.g., a deterministic function which runs some calculation and doesn't access external resrources) are fine. otherwise, they're really not.
edit: contrary to what Swiffy said and backing up what HackerHearts said, static methods are (most of the time) bad.