Also I think this is his way of filtering people that can't cope with him. If you are strong-willed enough you will go over what he said and try to make your code better otherwise you will just leave. Anyway he did not lose anything in his opinion.
I fully support his style of communication and think everyone should be able to choose how to lead their personal projects. If you don't agree with the community nobody is forcing you to join it. Not everything in life has to be nice towards you. Some stuff you remember better if it hurts.