4 ms·
You're describing optional type systems; in this regard, Julia is on par with Python or TypeScript. The linter you're describing is also a type checker (like Py
by throwaway894345 7y ago
You're describing optional type systems; in this regard, Julia is on par with Python or TypeScript. The linter you're describing is also a type checker (like Python's Mypy). That said, it would be really interesting if someone would make a type checker that would evaluate/resolve those more complex types, at least those that can be guaranteed to terminate.
- socialdemocrat 7y agoOptional typing and what Julia does is quite different. Julia type system is nothing like Python or TypeScript. In Julia type annotations are not just a sprinkle of sugar. It has a very concrete use beyond asserting type consistency. Julia types are used to decide what code gets run and memory layout of data.