Harassment is never justifiable, no amount of internet tough guy bravado will change that. This stance is incredibly childish and pitiful, and you should know better as a developer yourself.
Believe what you will, really won't change the amount of shit you get from doing something stupid publicly.