That said, modern China is a pragmatic country whose primary focus is to keep its own population happy. China has a lot of hurdles in the path to the realization of that goal, and needs the economy of the region to stay stable for that. If China attacks India (or vice versa), global supply chains and economies will get severly affected and in turn will have an avalanche effect on the economies of both the countries. Hence, practically speaking, neither countries would wage war on each other unless taken over by a whimsical, dicatatorial leader (and which dictator isn't whimsical?).
This is important in the context of strategic nuclear weapons, because the only situation that would justify using such weapons is when national survival is at stake - the risks are just too high otherwise. National survival isn't threatened by short-lived border skirmishes.
Our time, money and resources are better utilized spending on development activities than pointless wars.
Besides we(Indian civilization) have never attacked any country in several thousand years and never will. There is no bigger a peace loving nation in the world than India. But if some one attacks us, we need to defend ourselves.
Historically India is impenetrable through the northern and eastern sides because of the natural defense Himalayas provide. Nothing has changed in the modern times.