Wow, that was judgmental.
All weapons systems start out as experimental projects and gain those abilities as they progress. The ultimate payoff on this weapon system is well worth the investment.
As for the identification by enemies, all weapons systems broadcast their position. The idea is that the target either cannot identify, locate or capitalize on that information. All of which are solvable problems.
Some of us have to be. It’s the main value of experience.
All the rail gun is, is our version of the Paris Gun. The Germans wasted millions of Marks building a cutting-edge ballistic monstrosity which succeeded in firing a few projectiles 75 miles to kill 250 random civilians - or roughly 0.8 women and children per round fired.
Sinking Billions into a system that as yet hasn’t supported a usable payload or failed to let the entire Earth know when and where it fired seems remarkably similar to the waste of money and time the Germans made with the Wilhelm Geschutze.