Except that it was ineffective in the end (and not a significant delay either). Mark for mark it could have been money spent better elsewhere. Franc for franc it would have been better for the French to spend it elsewhere also as it proved entirely ineffective. Even if Germany respected the border of other countries Dora and Ferdinand would have defeated the Maginot Line.
I was not talking about the Maginot Line but the Atlantic Wall.