4 ms·
One general problem or challenge with statically strongly typed languages is, that one can quick get to a local optimum, but that local optimum might lack some
by zelphirkalt 7mo ago
One general problem or challenge with statically strongly typed languages is, that one can quick get to a local optimum, but that local optimum might lack some flexibility, that is needed later on, only discovered after some usage and seeing many use cases. Then a big refactoring is ahead, possibly even of the core types of the project. If that is allowed and introducing such flexibility thought of, it often happens, that expressing it in types becomes quite complex, which, without a lot of care, will impact the user of the project. The user needs to adhere to the same types and there might then be quite some ceremony around making something of the correct type, to use it with the project.
It is safer, but it is not without its downsides. It demands a careful design to make something people will enjoy using.