I've done some quick experiments with None and Nothing, and I am
seeing nearly identical performance and memory allocation. It seems
'Nothing' is more idiomatic Julia considering the role it plays in
function return.

Another insight I would like to add is the role it plays in type
unions. In the REPL you see

julia> Union(Int64, None)
Int64

julia> Union(Int64, Nothing)
Union(Nothing,Int64)

I am wondering if this is the primary reason Nothing is preferred over None.

Best,
Steve

On Sat, May 24, 2014 at 11:58 AM, Dom Luna <[email protected]> wrote:
> Thanks for all the helpful messages everyone, much appreciated:)

Reply via email to