Cyclothymic. That's a bipolar spectrum disorder, but it doesn't match the lay image of the manic-depressive. The episodes are milder and shorter, but they come on quickly. A "depression attack" can last 3 hours, resolve in a panic attack, and be gone 20 minutes later. Most people who know me wouldn't know that I have it. The one "insane" thing I've done (trolling, back in the day) had the specific purpose of keeping insanity out of my "IRL" existence.

As with all spectrum disorders, people seem to focus on the visible, uncontainable, and publicly dangerous 0.1% and ignore that 99.9% of people with the disorder or "on the spectrum" are not dangerous, wouldn't fit most people's image of "mentally ill", and can be very well-adjusted.

I tend to think of mood disorders as anti-psychopathy. Psychopaths have low or nonexistent mood and emotional sensitivity, which is why they're social high performers and (if ambitious) excel in the work world. Some mood disorders seem to be uncorrelated to context (i.e. episodes happen "for no reason") and that's probably more true of the severe cases, but most people with mood disorders are normal people with hypersensitivity, such as the OP whose brain would take personal criticism extremely seriously, unable to block it out or cope.

Aaron Swartz comes to mind as a archetypical anti-psychopath. They tend to be moralistic, less fearful of negative consequences when doing what they think is right, and prone to mood and anxiety disorders. Anti-psychopathy isn't a desirable thing. It can be just as ill-adjusted. Just as psychopathy tends to be good for the individual (in terms of material prosperity, social rank, and sexual access) but bad for society, anti-psychopathy tends to be good for society but harmful to the individual.

What's happening right now, in Silicon Valley, is a battle to the death between real technologists (who tend to be anti-psychopaths) and the mainstream business culture of entitled executives and board-whores (psychopaths). With Snapchat and Clinkle setting the tone in the current Valley, rents becoming unaffordable, and no-poach agreements all over the Valley, psychopaths seem to be winning.

I think that mood disorders in particular require a certain balance. People tend to do unwise or harmful things, especially when inexperienced, and those with mood disorders are not exceptions. You have to own your actions, even if you made them in a struggle that most people wouldn't understand. That said, it's also important to realize "it's not me, it's them" and keep your pride intact. Mental health issues often give you a front-row seat for how shitty people can be when they think you're weak.

Much of what comes out of these disorders isn't harmful in the least. It's just slightly embarrassing, but plenty of people will hang you out to dry just because they're weak, useless cowards. This may be why people with mood disorders (at least, the milder kind that won't interfere with ethical behavior; a truly "manic" person, noting that mania-- not the milder hypomania-- is very rare even in people with bipolar, does not know who he is) tend to evolve into moralistic, hyper-ethical anti-psychopaths.

I'll give a semi-fictional example. Let's say you're a programmer and you have a hypomanic episode. You still go to work, don't cause any issues, and spend 2 weeks building something you were never assigned to do. It turns out to be really good work and useful to the company (as much, or moreso, than putting that time in on your assigned work) but your boss is pissed off that you were working on this side project, instead of your assigned work, and tags you as "unreliable". A morally decent person would recognize that as wrong (it's health discrimination, and counterproductive, to punish people with "creative flare-ups") but, even still, stories like that are so common in Silicon Valley as to be unremarkable. Anti-psychopaths tend to need an R&D environment where they're measured by performance over time, rather than minute-by-minute superficial reliability (at which they can't possibly compete) and those, sadly, tend to be turning rare in the current anti-intellectual (and pro-psychopathic) environment.