Scientific computing

(for the rest of us)

Type stability

In this module, we will talk about type stability, and see how we can annotate the functions in Julia to be explicit about what type they return.

function nope()::Nothing
    return nothing
end
nope (generic function with 1 method)
nope()