See this thread: What is the motivation for Julia not dispatching on keyword arguments?
And the linked github issue: keyword arguments · Issue #485 · JuliaLang/julia · GitHub
The key issue seems to be that if you have n optional arguments, generating a method with and without each one would mean 2^n methods.