Yes, I was surprised. Ssince I spend a lot of time in western Pennsylvania--I knew there was more support for Trump than the media let on, but he just seemed too incompetent, incoherent, and disorganized a candidate to defeat the Clinton machine. I enjoyed torturing my friend who has been very close to Hillary for decades with scary stories about Trump surging. But in our early election day texting, I confessed that I thought it would be called for Hillary by 11PM at the latest. I was as wrong as everyone else.
I did not vote for either Hillary or Trump, and was resigned to taking my chances with either horrible outcome, but I was implicitly anticipating the dangers of a Clinton administration. I also thought, however, that there might be one positive effect of Hillary's presidency. Contrary to what might be considered the usual leftist line that electing the explicitly ultra-reactionary Trump would foment the revolution, or at least radical discontent, I thought that, in the American context, Hillary being president would help the left the most.
If Trump wins, I argued, and his policies fail miserably and obviously, Democrats and liberals would spend the next four years saying: "See, you should have voted for Hillary," and channeling oppositional energy into a familiar anti-Trump, anti-Republican, "Let's make sure we elect a Democrat in 2020" politics--as we saw after Bush's election in 2000. The Democrats would once again present themselves as the system's way out.