One of the earliest programming languages I’ve used was C. In C, you could simply compile two programs (say, foo.c and bar.c) and use header files, so that one file (foo.c, say) could access functions in another file. So I’m used to coding in this manner without resorting to some kind of build tool (mix for Elixir or lein for Clojure).
I’ve been able to run code using a single Elixir file. I typically type “elixir foo.ex” to run the code, and I like the simplicity of that.
I know mix is probably the way to go, but is there something like being able to use foo.ex and bar.ex without using mix to set it up which would allow me, say, to run the code in foo.ex, but refer to code in bar.ex. Or is that so non-standard, that I should be using mix?
And if so, any recommendations on which mix tutorial to look at?


















