That is one reason why I never liked C and C++ was a better option when coming from Turbo Pascal 6.
Although Turbo Pascal isn't Ada, it did allow for a similar approach with stronger types, which C++ also kind of supports (but C compatibility spoils it).
I found the Java type system to be horrendous in comparison. Much better employment potential, though...