4 ms·
> If you do not know the type of something you also do not know what operations are available on that thing. I don't get why this is important. If the origina
by karmakaze 7y ago
> If you do not know the type of something you also do not know what operations are available on that thing.
I don't get why this is important. If the original author, you had an idea of what you wanted to do with the thing. As a reader the thing is whatever supports the functions called on it in the body. Naming is important. Adding type annotation for humans is a good pattern and requiring it everywhere as part of language spec doesn't seem beneficial. Heck even Java now has var like js in method bodies.