3 ms·
The arity check in clojure sounds like a nice balance between runtime and compile time errors. Having runtime errors is the point - that's real dynamic typing
by benatkin 2y ago
The arity check in clojure sounds like a nice balance between runtime and compile time errors.
Having runtime errors is the point - that's real dynamic typing for you. If not for the possibility of runtime errors, you'd have to do more to have the code run. A lot of junior devs who prefer static typing don't get it. Senior devs who prefer static typing at least understand that some have a different preference. Of course you don't want a lot of runtime errors to make it to production, but in development, yes.
There are those who think that the IDE should provide feedback at every keystroke. Most IDEs have this opinion built into them. But I don't like it very much. It's gotten to the point where there isn't an IDE I really like. I miss Atom.