I think function definitions should be statically defined, but the actual body of a function could easily stay largely dynamic.
I think function definitions should be statically defined, but the actual body of a function could easily stay largely dynamic.
You can also approach this from the other direction: why not start with a dynamic language for the rapid prototyping and gradually introduce typing as the code stabilizes? Python and Typescript do this.
Could you provide any evidence for the claims that one needs "workarounds" and can't write code "in the most natural" way in a statically typed language?
> You can also approach this from the other direction: why not start with a dynamic language for the rapid prototyping and gradually introduce typing as the code stabilizes? Python and Typescript do this.
Which obviously does not work, which is the whole point of this submission and discussion thread…