Re: [julia-users] Project organization and variable scope question

2016-11-21 Thread Nicholas Mueschke
Mauro, Thanks. I've read the scope and performance sections you've mentioned. Part of the problem comes from the often competing approaches of scientific/numerical computing and well-versed/structured programming practices. I have my hand in both pots at times. While global variables are

Re: [julia-users] Project organization and variable scope question

2016-11-19 Thread Mauro
Welcome to Julia! Without having read your post in detail, your example looks like your using global variables to hold the state as you're not passing around anything. Apart from bad style in general, in Julia this is also bad for performance (read [1]). The compiler cannot work well with

[julia-users] Project organization and variable scope question

2016-11-18 Thread Nicholas Mueschke
To start, I'm new to Julia and I'm trying things out to test Julia out for some scientific/engineering applications. In particular, I'm working on moderate size projects, where they're big enough that I'll need more than one file with code in it to stay organized (let's say anywhere from 5-50