Hacker News new | ask | show | jobs
by patrick451 489 days ago
If they are so easy to identify, why not just make it a JIT error. Manually inspecting all of this sounds awful. I'd rather my compiler just do it for me.
2 comments

Dynamic behaviors can be a nice default for all the spots where performance is not critical. So Julia lets you code like Python in places where performance doesn't matter, and then code like C++ or Fortran in places where it does.
Because there's nothing inherently wrong or incorrect with dynamic behaviour. In lots of contexts, it's super useful.