News for hackers. Stuff that matters.
Re:Elixir for Ruby developers: the three most important diff... by benatkin on Sunday July 23, 2023 @04:17PM (#36839386)
Yeah, if you don't want the code to run when you're compiling it, don't have it do anything until some function is called.

And it would be the same as in another language if you run a program that has no side effects. For instance "python abc.py" will gladly run a foo.py that is empty or has "class ABC: pass" in it.

There are no comments on this comment yet.