2 ms·
>A strong type system does not allow types to change so... like in c++?
by zabzonk 3y ago
>A strong type system does not allow types to change
so... like in c++?
- neverartful 3y agoNo. C++ does allow types to change. That's exactly what casts are for.
- zabzonk 3y agono. c++ allows you to convert a value of one type into a value of another type (in a very limited number of cases) but you cannot change the type of an object.