Hacker News new | ask | show | jobs
by t-writescode 1689 days ago
> so long as the global usings are only kept to a single file

Here's where the mess starts.

It seems far too easy to sneak a global import statement in to random files and then have the entire codebase polluted by it.

I feel like this is too foot-gun'y, myself.

1 comments

Yeah, there should definitely be a way to have the compiler enforce global usings in only a specific file.