So, I have this CTO with 15+ years of experience in my small Software Development company, who is quite knowledgeable but is extremely proud of himself over his knowledge. Although he is good in terms of giving opportunities to youngsters like me who are 1+ year experienced, but in terms of treating the employees, I find his behaviour as one of the worst I have ever seen.
He told me once that he believes in criticizing the youngsters because according to him, criticism is a best way to improve the youngsters in today's world. And according to this habit, he has zero sense of moral etiquettes on how to treat his employees. Moreover, his expectations from his employees are not even realistic but resides in some imaginary level. As he often use to say this to every young employees like me that when he was of my age, he used to commit no mistakes in programming and the QA team were used to get tired for finding even a single bug in his code. He expects that I am not a human being but a god of programming who will not commit even a single mistake in code.
Now, all that I have specified above is bearable for me. But what seems disgusting to me is when according to him, I commit some mistake and he just starts shouting like a hulk and scolds me in front of everyone and that moron, even doesn't listen to what I say to him at those times. Whenever I speak to express my point of views, then he suppress my voice by speaking in a shouting manner and I generally stay silent in these kind of situations as it seems to me that arguing with such kind of people is a wastage of time and energy. I think that one of the biggest reason for me to get scolded every time is because I generally speak 100% truth and am completely honest in front of him. Now, there is another colleague of mine, who is a very religious person in the eyes of everyone but he is an extremely cunning dude. Whenever he faces situation like mine in front of our CTO, he puts the blame of his mistake on others or just simply lie to him and gets lucky to not get a scolding from the CTO because of getting saved every time by making fool of him.
Now, how should I deal with this boss? Should I start behaving in a cunning manner as my colleague? I have talked to the CTO regarding this fact that I think that I am getting too much scolded more than what is required and it sometimes have a bad affect on my mental peace and this continuous criticism has also lowered my confidence to some extent but talking to him brought no significant results. Another way I see is to just bear him for 10 months more because as a fresher, I had signed a bond of 2 years with my company and it has been 1 year 2 months since my joining.
Can someone please suggest a good solution for this situation?