Addressing the question of what to think about Hamas is not aided by talk of 'democracy' simpliciter. Fascists, even Nazis, commonly have been 'democratically' elected, and majorities routinely vote and act to violate the basic rights of minorities (as in Britain and the US even in their not so distant histories, for example). What is wanted is what is often called a 'rights-constrained,' or 'liberal' democracy -- i.e., a democracy constitutionally constrained by fundamental rights borne by every person, including the right to worship or not in the manner of one's choosing, the right not to be deprived of life or limb or liberty w/out fair process of law, etc. It is want of *that* which renders Hamas illegitimate, what ever other merits (such as non-corruption, feeding the compliant poor, etc.) that it might boast.
U.S. army tests ballistic missile interceptor off Hawaii (AP)
from the article: Abbas: No dialogue with 'murderous terrorists' in Hamas