In Scala, for example, ??? is defined as throwing a NotImplementedException, is there something similar in julia for stubbing functions?
You can define a function without adding any methods to it with the:
function foo end
syntax. This makes the binding foo
available as a function, but upon calling it you’ll get a method error. Most any Julia user quickly realizes that method errors occur when an implementation is missing.
4 Likes
Perfect, I forgot that was syntactically allowed. Thanks!