News for hackers. Stuff that matters.
Re:Things I Was Wrong About: Types by cuddlybacon on Sunday September 27, 2020 @03:07PM (#24609296)
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.

Re:Things I Was Wrong About: Types by throwaway894345 on Sunday September 27, 2020 @05:43PM (#24610368)
Probably 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).