4 ms·
I find that in strongly-statically-typed languages, I spend more time juggling the types of data than I do solving the problem at hand.
by maxk42 12y ago
I find that in strongly-statically-typed languages, I spend more time juggling the types of data than I do solving the problem at hand.
- dllthomas 12y agoI find that in strongly statically-typed languages, laying out the types of the data helps me solve the problem at hand. At least, for statically typed languages I actually use. I certainly have experience with unhelpful type juggling.
- stefantalpalaru 12y agoYou're supposed to solve most of the problem in the type design phase.
- dylukes 12y agoThis. If you're writing code before having at least thought out a preliminary solution, you're doing it wrong. Types let you codify your idea, and then make sure your implementation aligns with it as you write it.
- Lambdanaut 12y agoIf you get the types wrong, you haven't really solved the problem, have you?