|
|
|
|
|
by asg
4224 days ago
|
|
Well, that is just one way of doing it. As other commenters say below, julia decouples the concepts of namespaces, and files. Which means there are many ways of organising your code. You're right in that most projects include files into one large modules. Not every body like a it, but it does work for many codebases. If you want however, nothing prevents you from having separate modules per files.You could also create hierarchical modules, and store the files in a matching heirarchy of directories. As a young language, some programming patterns are still being experimented on by the purveyors of the language. But I don't think the module system is fundamentally weak in this respect. |
|