In terms of civilian deaths and level of violation of international law and the laws of war, Israel is objectively far worse than Hamas.
I wouldn't go quite that far. Unlike Hamas, Israel has made some efforts to mitigate the effects of what they do, just not enough to actually prevent killing more civilians than is justified under the circumstances.
The whole discussion seems irrelevant. Given the outcome, arguably Israel's "efforts to mitigate what they do" are likely (unsuccessful) attempts to keep up appearances. On the other hand, it's hard to deny that Hamas targets civilians, although the attempts are largely unsuccessful. However, it's true that Hamas made concessions (albeit forced by the circumstances) to join the Palestinian unity government, which the Israeli government seeks to undermine. Ultimately, I have to agree with Snowstalker on a single point: outcome matters more than intents from both sides.