4 points

I do dislike Rust’s namespace(module) mapping to files but I’m not certain requiring a single directory package structure is the solution as I don’t think it’s all that discouraging for having a ton of files in there… have you seen Java? If at some point you’re so concerned about compilation times you should be able to rip out modules into new crates without a problem since they are already in separate folders.

permalink
report
reply
0 points

In Java it’s really rare to see hundreds of files in a single package (dir)… do you have examples showing anything different??

permalink
report
parent
reply
2 points

Nothing I can show publically 😅

permalink
report
parent
reply
3 points
*

Aw shit here we go again lol.

Though as a guilty pleasure, and as a career Gopher, I can’t get enough of these comparisons.

After reading the article, seems that “as usual”, Go being restrictive and more rigid actually helps improve the code.

permalink
report
reply
1 point

I know nothing (relatively speaking) about programming or Rust or Go, but all of this made a lot of sense.

permalink
report
reply

Programming

!programming@beehaw.org

Create post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Community stats

  • 69

    Monthly active users

  • 320

    Posts

  • 3.3K

    Comments