Hacker News new | ask | show | jobs
by dartos 734 days ago
Doesn’t seem like magic to me.

I’d assume elixir looks at every file in the lib directory and compiles them. They all then get loaded into the beam vm with their respective module names

1 comments

Oh absolutely,

But that isn't how I was using the term “magic”, I was using it as a generic descriptor similar to how the Zig language refers to things that are done in the background, or hidden, without control from the user. I prefer knowing everything a file requires, that way I never double up, or have too many deps without my knowledge of everything that is in a system.