2 ms·
I think types also get in the way of writing speculative code, which is something I did a lot more often when I was new. Run what you have so far. Print the la
by cuddlybacon 6y ago
I think types also get in the way of writing speculative code, which is something I did a lot more often when I was new.
Run what you have so far. Print the last value you computed. Crash. Verify the data has the "shape" you expect it to. Write a bit more code. Repeat.
- throwaway894345 6y agoProbably a little. I might lack average cognitive facilities, but I find that types pay off for me very early. When I worked in a Python shop, I would prototype in Go because the types helped me move fast, and then I could port it to Python (often for a huge performance loss, not to speak of maintainability) to integrate with the code base. On the other hand, Python’s repl was nice for a small handful of tasks (although I mostly used it for figuring out what the actual type of some variable was, which is obviously a non-problem in the statically typed world).