For an example of exactly the kind of problem that @congvan is correctly pointing out, see this recent post: I'm confused with types names . Including a file multiple times will result in different types with the same name and is likely to create all kinds of confusion.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Including files within a single module | 1 | 252 | May 26, 2022 | |
Organization of multiple modules in same package | 18 | 5282 | May 4, 2021 | |
What is the preferred way to use multiple files? | 15 | 7986 | October 25, 2024 | |
Large programs: structuring modules & include such that to increase performance and readability | 14 | 4510 | October 4, 2019 | |
To include types and functions or to use modules? | 2 | 759 | March 5, 2018 |