3 ms·
I think most of the dynamic/static bias depends on the specific experiences of your problem domain. If you have a lot of types of data to model(layers of recor
by veebat 8y ago
I think most of the dynamic/static bias depends on the specific experiences of your problem domain.
If you have a lot of types of data to model(layers of records, sequences, indirection, etc), dynamic types make it easy to start bodging something together, but result in write-only code. So you end up wanting to have additional structure and definition - maybe not immediately, but just after prototyping is done and you have a first working example.
If you're just applying a routine algorithm that ultimately does a round trip from SQL, you don't need that additional assurance. The database is already doing the important part of the work.
If you have simple data but it needs to go as fast as possible, you end up wanting to work at a low level, and then the machine size of the data becomes important - so you end up with a static types bias.