Hacker News new | ask | show | jobs
by saghm 525 days ago
Having to make an entire separate file to mark something as public rather than just having a keyword in the language sounds to me "terrible and pointlessly extra". It's not like you can't just put all your public stuff in it's own file in Rust rather than putting private stuff in it as well; empirically though, people don't do this because it's just not worth the effort.
1 comments

Think about closed-source software that has to export a low-level programmatic interface. You may not believe it, but it's still widespread.