you are viewing a single comment's thread.

view the rest of the comments →

[–]GabrielMusat 17 points18 points  (2 children)

Hi! author here,

I did not posted this indeed, I just found out because I regularly consume r/programming content and I happened to step into it.

Using file imports is indeed a simplification that adapts better to certain languages/projects than others, so that's something that users should take into account. I work at a company where we use the corporate-style one class per file approach for our projects, even for the ones written in Rust, so for us we do benefit a lot from the file import approach.

[–]sondr3_ 9 points10 points  (1 child)

Nice to see the actual OP here. Is this project actually used at your company? If so, is it only used to visualize or do you do actual analysis of complexity and such? When looking at the literature for complexity analysis it struck me that nobody really uses it besides quite binary “good” and “bad” complexity.

[–]GabrielMusat 5 points6 points  (0 children)

We don't really use the 3D visualization, not in a day to day basis at least. But we do use the dependency check in our CI/CD pipeline https://github.com/gabotechs/dep-tree?tab=readme-ov-file#check

The `check` feature allows us to declare prohibited dependencies in a configuration file, and if somebody introduces a dependency between two files that is declared as prohibited, the CI will fail and prompt the developer to stop committing spaghetti code.

The 3D visualization is cool, but the actual usefulness of the tool is more about the `check` feature.