4 ms·
No the problem is when you have a method that takes three parameters you want know what these parameters are and what you can do with them. Trying to figure thi
by hasenj 10y ago
No the problem is when you have a method that takes three parameters you want know what these parameters are and what you can do with them. Trying to figure this out in a dynamically typed language is not fun.
In TypeScript (with a decent editor, like VSCode) you just hover the parameter and you can immediately see what it is.
- crdoconnor 10y ago>Trying to figure this out in a dynamically typed language is not fun. Sure it is. Fire up the IPython REPL at the point in the code where you're intending to use it and experiment. Not only can you see what it takes, you can see what it does in real time and you can experiment on the results. >In TypeScript (with a decent editor, like VSCode) you just hover the parameter and you can immediately see what it is. Well, you can see that it's a string of some kind.