3 ms·
WRT julia's type system: I still don't get it. Is Julia dynamically or statically typed? Are type errors detected at compile time (or since it's jitted when loa
by stewbrew 10y ago
WRT julia's type system: I still don't get it. Is Julia dynamically or statically typed? Are type errors detected at compile time (or since it's jitted when loading a file) or at runtime (i.e. when the code is executed)? I personally don't see much use in just another dynamically typed language that gives me similar errors as R does.
- StefanKarpinski 10y agoDynamic: http://stackoverflow.com/questions/28078089/is-julia-dynamically-typed/28096079#28096079 http://stackoverflow.com/questions/28078089/is-julia-dynamic... Julia uses its type system for: - self-documentation - reduction of boilerplate manual type checking that litters libraries in dynamic languages - all those times you need to express the type of something, which happens especially frequently in numerical code - performance In the future, some "type linting" could be built into the standard library since we can infer types for so much code, but it isn't the top priority.