Interestingly, calling assignment “aliasing” might help people understand how it works in Julia since it makes it crystal clear that all you’re doing is causing two different names to refer to the same thing. Of course, it has a certain implication of permanence, which is not the case without
Note that you do really want that
const here since otherwise the compiler is forced to pessimize all code surrounding a call to
imview since it can’t know that the value and therefore the behavior won’t change at any moment (it could literally happen between any two non-inlined function calls).