What would the best solution be for creating patterns for bullets fired in a shoot 'em up game?

Should I hard code values into arrays?

The kind of patterns I want to create are for bosses like in the games Strikers 1945, Aero Fighters etc.