I find it sad that people feel the need to establish arbitrary demarcation lines between the arts and sciences. Poetry may not be "useful" in the sense of creating utilities and infrastructure, but it is definitely used by many people, myself included, as a creative medium to get emotions and thoughts ordered in a way impossible with programming. Nothing soothes me more than to read a poem to my friend or lover, and then have them reciprocate. Art is a powerful thing.
I, for one, dread the day when poetry is considered "useless."